eslint-plugin-no-re-export

0.0.6 • Public • Published

eslint-plugin-no-re-export

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

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-no-re-export

Weekly Downloads

83

Version

0.0.6

License

MIT

Unpacked Size

16.8 kB

Total Files

9

Last publish

Collaborators

  • christianv