eslint-plugin-default-import-name
v0.5.1
Published
ESLint rule: enforce default imports matching file names
Maintainers
Readme
eslint-plugin-default-import-name
Enforce default imports matching file names This makes default export more structured.

Configuration
pnpm add -D eslint-plugin-default-import-nameAdd to your eslint.config.js
import defaultImportNameConfig from "eslint-plugin-default-import-name/config";
export default [defaultImportNameConfig()];Supported Rules
🔧 Automatically fixable by the --fix CLI option.
| Name | Description | 🔧 | | :------------------------------------------------------ | :------------------------------------------ | :-- | | default-import-name | enforce default imports matching file names | 🔧 |
