Adjective-Object / good-fences-rs-core

9 stars 0 forks source link

Fails when using tsconfig with `extends` functionality #46

Open foodforarabbit opened 1 year ago

foodforarabbit commented 1 year ago
❯ good-fences src -p ./tsconfig.fence.json
thread '<unnamed>' panicked at 'Unable to find --project path: SerdeError(Error("missing field `compilerOptions`", line: 10, column: 1))', src/
lib.rs:22:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

Using the same tsconfig that works with good-fences

e.g. something like:

{
  "extends": "./tsconfig",
  "exclude": [
    "tests",
    "tmp",
  ]
}