{"name":"eslint-import-context","version":"0.1.9","author":{"url":"https://www.1stG.me","name":"JounQin","email":"admin@1stg.me"},"license":"MIT","_id":"eslint-import-context@0.1.9","maintainers":[{"name":"jounqin","email":"admin@1stg.me"}],"homepage":"https://github.com/un-ts/eslint-import-context#readme","bugs":{"url":"https://github.com/un-ts/eslint-import-context/issues"},"dist":{"shasum":"967b0b2f0a90ef4b689125e088f790f0b7756dbe","tarball":"http://registry-npm.ywwl.com/eslint-import-context/download/eslint-import-context-0.1.9.tgz","fileCount":12,"integrity":"sha512-K9Hb+yRaGAGUbwjhFNHvSmmkZs9+zbuoe3kFQ4V1wYjrepUFYM2dZAfNtjbbj3qsPfUfsA68Bx/ICWQMi+C8Eg==","signatures":[{"sig":"MEUCIDCXgLUR28CsUpIn+uv7wtZnSr4TWByXi5nY2l2BPPOEAiEAmw/UFbzb8GAqi5G8X7UAAHIYcvgwlB3zpKzDqIbHlc4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/eslint-import-context@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18051,"size":5719,"noattachment":false,"key":"/eslint-import-context/-/eslint-import-context-0.1.9.tgz"},"main":"./lib/index.js","type":"commonjs","types":"./lib/index.d.ts","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":"070e5e3e7732c10eb37dbfdfe8a0b762d3abca52","_npmUser":{"name":"jounqin","actor":{"name":"jounqin","type":"user","email":"admin@1stg.me"},"email":"admin@1stg.me"},"repository":{"url":"git+https://github.com/un-ts/eslint-import-context.git","type":"git"},"_npmVersion":"10.9.2","description":"Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.","directories":{},"_nodeVersion":"22.16.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":{"tmp":"tmp/eslint-import-context_0.1.9_1750912906343_0.1989084379405459","host":"s3://npm-registry-packages-npm-production"},"readme":"# eslint-import-context\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/un-ts/eslint-import-context/ci.yml?branch=main)](https://github.com/un-ts/eslint-import-context/actions/workflows/ci.yml?query=branch%3Amain)\n[![Codecov](https://img.shields.io/codecov/c/github/un-ts/eslint-import-context.svg)](https://codecov.io/gh/un-ts/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%2Fun-ts%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/un-ts/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/un-ts/eslint-import-context)](https://github.com/un-ts/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":1750912906497,"_cnpm_publish_time":1750912906497,"dist-tags":{"latest":"0.2.1"}}