Skip to content

Commit 03ef336

Browse files
committed
[no ci] improve eslint custom rule
1 parent 542a560 commit 03ef336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default defineConfig([
8686
{
8787
name: 'lodash',
8888
message:
89-
"Named import from lodash should be avoided for performance reasons. Use a default import instead. E.g. `import merge from 'lodash/merge';` instead of `import { merge } from 'lodash';`.",
89+
"Named import from lodash should be avoided for performance reasons. Use a default import instead. E.g. `import merge from 'lodash/merge.js';` instead of `import { merge } from 'lodash';`.",
9090
},
9191
],
9292
},

0 commit comments

Comments
 (0)