refactor: Upgrade to Prettier 3 (no-changelog) (#6947)

Supersedes https://github.com/n8n-io/n8n/pull/6937

Excluding fixtures and test workflow JSONs to avoid having to update
tests.
This commit is contained in:
Iván Ovejero
2023-08-16 17:13:57 +02:00
committed by GitHub
parent bb76c18073
commit 7ce5d8fd90
55 changed files with 1314 additions and 1295 deletions

View File

@@ -4,7 +4,7 @@ import fs from 'fs';
import path from 'path';
import { execSync } from 'child_process';
const prettier = path.resolve('node_modules', 'prettier', 'bin-prettier.js');
const prettier = path.resolve('node_modules', '.bin', 'prettier');
if (!fs.existsSync(prettier)) {
throw new Error(