Eslint configuration: How can I use a no-restricted-syntax rule to disallow Date() but allow New Date()?

后端 未结 0 609
孤街浪徒
孤街浪徒 2020-12-04 18:55

I want to add an Eslint configuration which prevents the use of Date() as it conflicts with another feature used to change the time within the app. Instead, onl

相关标签:
回答
  • 消灭零回复
提交回复
热议问题