this repo sets up
- a base configuration at
oxlint.config.ts, which setstypeAwareto true as per these docs - a nested package configuration at
packages/a/oxlint.config.tsas per these docs
❯ npm i
❯ npm run lintresults in:
> oxlint-nested-tsconfig-typeaware-repro@1.0.0 lint
> npm run lint --workspaces
> a@1.0.0 lint
> oxlint
Failed to parse oxlint configuration file.
× The `options.typeAware` option is only supported in the root config, but it was found in /[PATH_TO]/oxlint-nested-tsconfig-typeaware-repro/oxlint.config.ts.
help: Move `options.typeAware` to the root configuration file.
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /[PATH_TO]/oxlint-nested-tsconfig-typeaware-repro/packages/a
npm error workspace a@1.0.0
npm error location /[PATH_TO]/oxlint-nested-tsconfig-typeaware-repro/packages/a
npm error command failed
npm error command sh -c oxlint