0.3.0 ⢠Published 4 months ago
eslint-plugin-default-import-name v0.3.0
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-name
Add 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 | š§ |