eslint-plugin-no-copy-paste-default-export
Version:
no more copy-pasted classes with wrong display name
23 lines (15 loc) • 368 B
Markdown
# no-copy-paste-default-export ESLint plugin
## Installation
`npm i eslint-plugin-no-copy-paste-default-export`
## Configuration
```
{
"plugins": [
"no-copy-paste-default-export"
]
}
```
## Rule
A single rule checking that any `export default class <name>` has `<name> === <filename>`
## License
MIT (http://www.opensource.org/licenses/mit-license.php)