{"name":"eslint-import-context","version":"0.1.2","author":{"url":"https://www.1stG.me","name":"JounQin","email":"admin@1stg.me"},"license":"MIT","_id":"eslint-import-context@0.1.2","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":"518a6370fcbb9f17aa86a8e63be02311e00c9661","tarball":"http://registry-npm.ywwl.com/eslint-import-context/download/eslint-import-context-0.1.2.tgz","fileCount":14,"integrity":"sha512-XshSyVsGc6D5vjXf3onzW4eDQQsYLop5+dkvr/jCg4WpxLU/d9ARhYnEOzAgXh88LgCt85oZsNZ4kJ/CzS45Zg==","signatures":[{"sig":"MEQCIHUsodemwbxmeMh7PlP1oVzOVVXyHHgH1Ocf/I78MUdRAiBtovMb3hoYoH8bSwmAKGZr+ncF13scyzPOzgeataZaJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/eslint-import-context@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":57213,"size":16504,"noattachment":false,"key":"/eslint-import-context/-/eslint-import-context-0.1.2.tgz"},"main":"./lib/index.cjs","type":"module","types":"./lib/index.d.cts","module":"./lib/index.js","engines":{"node":"^12.20.0 || ^14.18.0 || >=16.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/eslint-import-context","gitHead":"c1a68da946fadef1bdc74c2b1e94900761cea064","_npmUser":{"name":"jounqin","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.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/eslint-import-context_0.1.2_1748105025449_0.10394494773513197","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":1748105025666,"_cnpm_publish_time":1748105025666,"dist-tags":{"latest":"0.2.1"}}