This is only the NoUnused.Exports rule, without any flags/options on the full Vendr codebase (4576 files & 601,140 loc). I know there's quite a bit of unused code in our generated code (which is what prompted this). Running with --watch --fix doesn't hit this error.
-- UNEXPECTED ERROR ------------------------------------------------------------
I ran into an unexpected error. Please open an issue at the following link:
https://github.com/jfmengels/node-elm-review/issues/new
Please include this error message and as much detail as you can provide. If you
can, please provide a setup that makes it easy to reproduce the error. That will
make it much easier to fix the issue.
Below is the error that was encountered.
--------------------------------------------------------------------------------
RangeError: Maximum call stack size exceeded
at A2 (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:56:28)
at Function.$author$project$Elm$Review$Reporter$formatReports$fn [as f] (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:8382:8)
at A3 (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:59:28)
at Function.$author$project$Elm$Review$Reporter$formatReports$fn [as f] (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:8383:8)
at A3 (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:59:28)
at Function.$author$project$Elm$Review$Reporter$formatReports$fn [as f] (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:8383:8)
at A3 (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:59:28)
at Function.$author$project$Elm$Review$Reporter$formatReports$fn [as f] (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:8383:8)
at A3 (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:59:28)
at Function.$author$project$Elm$Review$Reporter$formatReports$fn [as f] (/Users/wolfgangschuster/Development/ironzion/apps/frontend/elm-stuff/generated-code/jfmengels/elm-review/cli/2.10.0/review-applications/fa687fbfdffbaad504aab1722e993d74.js:8383:8)
undefined
/Users/wolfgangschuster/Development/ironzion/apps/frontend:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @ironzion/frontend@0.1.0 review:ci:no-fix: `elm-review --config review/review-preflight`
Exit status 1
This is only the
NoUnused.Exports
rule, without any flags/options on the full Vendr codebase (4576 files & 601,140 loc). I know there's quite a bit of unused code in our generated code (which is what prompted this). Running with--watch --fix
doesn't hit this error.Node elm-review v2.10.0
elm-review elm.json
Node v16.16.0