0.3.0 • Published 4 months ago

eslint-plugin-default-import-name v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

eslint-plugin-default-import-name

npm version npm downloads

Enforce default imports matching file names This makes default export more structured.

default-import-name-demo.gif

Rules List

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.

NameDescriptionšŸ”§
default-import-nameenforce default imports matching file namesšŸ”§

License

MIT License Ā© 2024-PRESENT Nir Tamir

0.3.0

4 months ago

0.2.0

4 months ago

0.1.0

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago