Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcandillon/eslint-plugin-ts-exports
ESLint wrapper for ts-unused-export
https://github.com/wcandillon/eslint-plugin-ts-exports
Last synced: about 2 months ago
JSON representation
ESLint wrapper for ts-unused-export
- Host: GitHub
- URL: https://github.com/wcandillon/eslint-plugin-ts-exports
- Owner: wcandillon
- Created: 2021-02-26T06:01:23.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T01:49:00.000Z (over 2 years ago)
- Last Synced: 2024-04-14T10:00:38.329Z (9 months ago)
- Language: TypeScript
- Size: 331 KB
- Stars: 67
- Watchers: 8
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# 🚨 Do Not Use it 🚨
This plugin is not in a usable state at the moment. We are trying to figure out a way to maintain a clean dependency tree without using too much resources.ESLint wrapper for ts-prune
## Installation
This plugin requires your project to use TypeScript (>=4.1.3).
```sh
yarn add eslint-plugin-ts-exports --dev
```## Example Configuration
The plugin relies on TypeScript compiler services to resolve types.
You need to set your `tsconfig.json` file in your eslint configuration via `parserOptions`.```json
{
"plugins": ["ts-exports"],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"ts-exports/unused-exports": 2,
}
}
```## Rules
* [unused-exports](./docs/unused-exports.md)