@lint-ts-index/core
v0.1.1
Published
Check whether TS files are exported in index.ts
Downloads
3
Readme
@lint-ts-index/core
Purpose of this tool is to check that every files or subdirectories are exported in their corresponding index.ts
files.
foo.ts is not exported in index.ts
If you believe it's an error, please add an exclusion in .indexignore
Have you ever forget to export the content of a new source file into the index.ts
file of it's parent directory? Not anymore!
:warning: This project is still experimental and subject to important changes. Use it at your own risk
Installation
npm install @lint-ts-index/core
Usage
See Api Documentation.
See also
@lint-ts-index/cli
- A command line linter based on this library.@lint-ts-index/eslint-plugin
- Use lint-ts-index as an ESLint rule.
License
This project is licensed under the MIT license which you can find a copy in the LICENSE
file.