Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

christianvuerings/eslint-plugin-no-re-export

Repository files navigation

eslint-plugin-no-re-export

Caution

Use canonical/no-re-export instead of no-re-export/no-re-export. See gajus/eslint-plugin-canonical#27 for more info

npm GitHub Build Status GitHub Tests

Disallow re-exporting in TypeScript/JavaScript.

Installation

# npm
npm install eslint-plugin-no-re-export --save-dev

# yarn
yarn add eslint-plugin-no-re-export --dev

# bun
bun install eslint-plugin-no-re-export --save-dev

Usage

Add no-re-export to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["no-re-export"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "no-re-export/no-re-export": "error"
  }
}

Rules

Rule ID Description
no-re-export disallow re-exporting in TypeScript/JavaScript

References

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published