eslint-import-context
Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.
TOC
Usage
Install
# 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
import { useRuleContext, getTsconfigWithContext } from 'eslint-import-context'
const ruleContext = useRuleContext()
const tsconfig = getTsconfigWithContext(ruleContext)
Sponsors and Backers
Sponsors
1stG | RxTS | UnTS |
---|---|---|
Backers
1stG | RxTS | UnTS |
---|---|---|
Changelog
Detailed changes for each release are documented in CHANGELOG.md.