{"name":"eslint-import-context","version":"0.2.0","type":"commonjs","description":"Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.","repository":{"type":"git","url":"git+https://github.com/un-ts/eslint-import-context.git"},"author":{"name":"JounQin","email":"admin@1stg.me","url":"https://www.1stG.me"},"funding":"https://opencollective.com/eslint-import-context","license":"MIT","engines":{"node":"^12.20.0 || ^14.18.0 || >=16.0.0"},"main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"peerDependencies":{"oxc-resolver":"^11.0.0"},"peerDependenciesMeta":{"oxc-resolver":{"optional":true}},"dependencies":{"get-tsconfig":"^4.10.1","stable-hash-x":"^0.2.0"},"_id":"eslint-import-context@0.2.0","gitHead":"2eb53bbd52687d4d7b1616e6e1c2c08b4ee68324","bugs":{"url":"https://github.com/un-ts/eslint-import-context/issues"},"homepage":"https://github.com/un-ts/eslint-import-context#readme","_nodeVersion":"22.18.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-F4FrHeflgq2N4jzy7DMdugV342PcYUSa7SzlsE2Ph/e22uTkppT/OPq9oZu3jCHwzbni8OhnAPOsEYsV8WFsOg==","shasum":"9e8b2fb853c427666a7b07867af77fbea3a9bec0","tarball":"http://registry-npm.ywwl.com/eslint-import-context/download/eslint-import-context-0.2.0.tgz","fileCount":12,"unpackedSize":18049,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/eslint-import-context@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIG0gCtinx5usvqDYckLiMZWaDZzqtdwej7oe5DF7J8EqAiB8O0w3kVWld1h/U+uAACZPiK4likcrmRJf2EFFyRGdGg=="}],"size":5714,"noattachment":false,"key":"/eslint-import-context/-/eslint-import-context-0.2.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dbcc2347-0f04-4f86-84ae-b6528f0c7717"}},"directories":{},"maintainers":[{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-import-context_0.2.0_1755590217629_0.6814185025520842"},"_hasShrinkwrap":false,"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":1755590217786,"_cnpm_publish_time":1755590217786,"dist-tags":{"latest":"0.2.1"}}