Files
test-repo/changelog_unreleased/cli/10274.md
T
2022-02-18 16:36:53 +08:00

418 B

Add --no-plugin-search to turn off plugin autoloading (#10274 by @fisker)

To turn off plugin autoloading, use --no-plugin-search when using Prettier CLI or add { pluginSearchDirs: false } to options in prettier.format() or to the config file.

// Prettier stable
$ prettier . --plugin-search-dir=a-dir-without-plugins

// Prettier main
$ prettier . --no-plugin-search