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:
> [email protected] lint
> npm run lint --workspaces
> [email protected] 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 [email protected]
npm error location /[PATH_TO]/oxlint-nested-tsconfig-typeaware-repro/packages/a
npm error command failed
npm error command sh -c oxlint