`prettier.resolveConfig.sync` is removed in Prettier 3.0. 