File: /home/ploi/drdrive.lightweb.kr/node_modules/eslint-import-context/README.md
# eslint-import-context
[](https://github.com/un-ts/eslint-import-context/actions/workflows/ci.yml?query=branch%3Amain)
[](https://codecov.io/gh/un-ts/eslint-import-context)
[](https://github.com/plantain-00/type-coverage)
[](https://coderabbit.ai)
[](https://www.npmjs.com/package/eslint-import-context)
[](https://github.com/un-ts/eslint-import-context/releases)
[](https://conventionalcommits.org)
[](https://renovatebot.com)
[](https://standardjs.com)
[](https://github.com/prettier/prettier)
[](https://github.com/changesets/changesets)
Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.
## TOC <!-- omit in toc -->
- [Usage](#usage)
- [Install](#install)
- [API](#api)
- [Sponsors and Backers](#sponsors-and-backers)
- [Sponsors](#sponsors)
- [Backers](#backers)
- [Changelog](#changelog)
- [License](#license)
## Usage
### Install
```sh
# pnpm
pnpm add eslint-import-context
# yarn
yarn add eslint-import-context
# npm
npm i eslint-import-context
# bun
bun add eslint-import-context
```
### API
```js
import { useRuleContext, getTsconfigWithContext } from 'eslint-import-context'
const ruleContext = useRuleContext()
const tsconfig = getTsconfigWithContext(ruleContext)
```
## Sponsors and Backers
[](https://github.com/sponsors/JounQin)
### Sponsors
| 1stG | RxTS | UnTS |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [](https://opencollective.com/1stG) | [](https://opencollective.com/rxts) | [](https://opencollective.com/unts) |
### Backers
| 1stG | RxTS | UnTS |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [](https://opencollective.com/1stG) | [](https://opencollective.com/rxts) | [](https://opencollective.com/unts) |
## Changelog
Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).
## License
[MIT][] © [JounQin][]@[1stG.me][]
[1stG.me]: https://www.1stG.me
[JounQin]: https://github.com/JounQin
[MIT]: http://opensource.org/licenses/MIT