ESLint Rule Generator
Guide
Explore
中
Star on GitHub
Rule Detail
Give a brief description of your eslint rule
不允许引入 lodash 模块,而是直接使用 lodash-es 模块,这样可以减少包大小。
Provide a code example
incorrect:
import _ from 'lodash' import { isEqual } from 'lodash'
correct:
import _ from 'lodash-es' import { isEqual } from 'lodash-es'
EslintGPT
Copy
51