see https://github.com/eslint/eslint/issues/16629#issuecomment-1341641006 from the eslint maintainer