Update to Prettier 2.3 (#13288)

This commit is contained in:
Sosuke Suzuki
2021-05-10 22:34:13 +09:00
committed by GitHub
parent 5ae3a6c2a4
commit b2d9156cc6
45 changed files with 262 additions and 364 deletions

View File

@@ -38,13 +38,8 @@ function injectWrapper(path, wrapper) {
export default declare((api, options) => {
api.assertVersion(7);
const {
allowTopLevelThis,
strict,
strictMode,
importInterop,
noInterop,
} = options;
const { allowTopLevelThis, strict, strictMode, importInterop, noInterop } =
options;
const constantReexports =
api.assumption("constantReexports") ?? options.loose;