diff --git a/main.js b/main.js index 42423a5..83fca90 100644 --- a/main.js +++ b/main.js @@ -49,7 +49,7 @@ async function installEslintPackagesAsync () { const yarn = await getYarn() const versions = yarn.data.trees - .filter(p => p.name.match(/eslint/)) + .filter(p => p.name.match(/eslint/) || p.name.match(/prettier/)) .map(p => p.name) await io.mv('package.json', 'package.json-bak')