Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-plugin-no-copy-paste-default-export

buildo485MIT0.0.3

no more copy-pasted classes with wrong display name

eslint, eslintplugin

readme

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)