{"_id":"eslint-import-context@0.2.1","bugs":{"url":"https://github.com/eslint-community/eslint-import-context/issues"},"dist":{"shasum":"c6b6f207f7b1478e4c5b15237ac9e25890a2a7e2","tarball":"http://registry-npm.ywwl.com/eslint-import-context/download/eslint-import-context-0.2.1.tgz","fileCount":12,"integrity":"sha512-POb5BbnmbIJjrlyQ/wRQX8rmFeHHlXwVGdB+HbEpnNcuB72x8FjidiKJVIHEztCmPnYTpZ0n0B4D538dxE99Zg==","signatures":[{"sig":"MEYCIQDVnQ3vONI+jLP3b5qM0Glmi6fSKTyLEnCYxJZHe3hFywIhAPc7gzIhl/AgGbWpH2/owDxrpcA6Abu+2DV7QMAaKp7v","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC47gr2nO/D7CsVmEOU6LV7Y6lEIRHJGSNteq7MY8x7UwIhAKtbeUlPgGu4Loc6gFeq8vb5GSyFaBYMXj7/JAFpAf5R"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/eslint-import-context@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18150,"size":5723,"noattachment":false,"key":"/eslint-import-context/-/eslint-import-context-0.2.1.tgz"},"main":"./lib/index.js","name":"eslint-import-context","type":"commonjs","types":"./lib/index.d.ts","author":{"url":"https://www.1stG.me","name":"JounQin","email":"admin@1stg.me"},"engines":{"node":"^12.20.0 || ^14.18.0 || >=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"funding":"https://opencollective.com/eslint-import-context","gitHead":"36e420185a0769b3b25234ed23b72f83efb25652","license":"MIT","version":"0.2.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"10205cc6-c248-479a-8967-dec006d108e2"}},"homepage":"https://github.com/eslint-community/eslint-import-context#readme","repository":{"url":"git+https://github.com/eslint-community/eslint-import-context.git","type":"git"},"_npmVersion":"12.2.2","description":"Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.","directories":{},"maintainers":[{"name":"jounqin","email":"admin@1stg.me"},{"name":"michaeldeboey","email":"info@michaeldeboey.be"},{"name":"eslint-community-bot","email":"contact+eslintcbot@eslint.org"}],"_nodeVersion":"26.13.0","dependencies":{"get-tsconfig":"^4.10.1","stable-hash-x":"^0.2.0"},"_hasShrinkwrap":false,"peerDependencies":{"unrs-resolver":"^1.0.0"},"peerDependenciesMeta":{"unrs-resolver":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-import-context_0.2.1_1794319033305_0.8592994010127522"},"readme":"# eslint-import-context\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/eslint-community/eslint-import-context/ci.yml?branch=main)](https://github.com/eslint-community/eslint-import-context/actions/workflows/ci.yml?query=branch%3Amain)\n[![Codecov](https://img.shields.io/codecov/c/github/eslint-community/eslint-import-context.svg)](https://codecov.io/gh/eslint-community/eslint-import-context)\n[![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Feslint-community%2Feslint-import-context%2Fmain%2Fpackage.json)](https://github.com/plantain-00/type-coverage)\n[![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/eslint-community/eslint-import-context)](https://coderabbit.ai)\n[![npm](https://img.shields.io/npm/v/eslint-import-context.svg)](https://www.npmjs.com/package/eslint-import-context)\n[![GitHub Release](https://img.shields.io/github/release/eslint-community/eslint-import-context)](https://github.com/eslint-community/eslint-import-context/releases)\n\n[![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![changesets](https://img.shields.io/badge/maintained%20with-changesets-176de3.svg)](https://github.com/changesets/changesets)\n\nProvide context info for eslint-plugin-import-x, so no extra arguments need to be added.\n\n## TOC <!-- omit in toc -->\n\n- [Usage](#usage)\n  - [Install](#install)\n  - [API](#api)\n- [Sponsors and Backers](#sponsors-and-backers)\n  - [Sponsors](#sponsors)\n  - [Backers](#backers)\n- [Changelog](#changelog)\n- [License](#license)\n\n## Usage\n\n### Install\n\n```sh\n# pnpm\npnpm add eslint-import-context\n\n# yarn\nyarn add eslint-import-context\n\n# npm\nnpm i eslint-import-context\n\n# bun\nbun add eslint-import-context\n```\n\n### API\n\n```js\nimport { useRuleContext, getTsconfigWithContext } from 'eslint-import-context'\n\nconst ruleContext = useRuleContext()\n\nconst tsconfig = getTsconfigWithContext(ruleContext)\n```\n\n## Sponsors and Backers\n\n[![Sponsors](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)\n\n### Sponsors\n\n| 1stG                                                                                                                   | RxTS                                                                                                                   | UnTS                                                                                                                   |\n| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |\n| [![1stG Open Collective sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |\n\n### Backers\n\n| 1stG                                                                                                                | RxTS                                                                                                                | UnTS                                                                                                                |\n| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| [![1stG Open Collective backers](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT][] © [JounQin][]@[1stG.me][]\n\n[1stG.me]: https://www.1stG.me\n[JounQin]: https://github.com/JounQin\n[MIT]: http://opensource.org/licenses/MIT\n","publish_time":1794319033433,"_cnpm_publish_time":1794319033433,"dist-tags":{"latest":"0.2.1"}}