ESLint Rule Generator
Guide
Explore
中
Star on GitHub
Rule Detail
Give a brief description of your eslint rule
不允许使用 new Date()、Date(),建议使用 dayjs()
Provide a code example
incorrect:
const date = new Date(); const date2 = Date();
correct:
const date = dayjs(); const date2 = dayjs();
EslintGPT
Copy
95