amilajack / eslint-plugin-compat

Check the browser compatibility of your code
MIT License
3.07k stars 104 forks source link

no warning when use a variables #613

Open tantian1498 opened 6 months ago

tantian1498 commented 6 months ago

when I use: const statisticsStrTip = 'test'.replaceAll(-", " "), it is useful;

but not useful when I use: let statisticsStr = 'test' const statisticsStrTip = statisticsStr.replaceAll("", " ")

what should I do?