refactor: Format root-level dirs (no-changelog) (#4938)

🎨 Format root-level dirs
This commit is contained in:
Iván Ovejero
2022-12-15 16:39:59 +01:00
committed by GitHub
parent d7b3d649d6
commit 3028ad3c61
32 changed files with 612 additions and 513 deletions

View File

@@ -16,7 +16,7 @@ const config = path.resolve('.prettierrc.js');
const ignore = path.resolve('.prettierignore');
const ROOT_DIRS_TO_SKIP = ['.git', 'node_modules', 'packages'];
const EXTENSIONS_TO_FORMAT = ['.md', '.yml', '.js', '.json'];
const EXTENSIONS_TO_FORMAT = ['.md', '.yml', '.js', '.json', '.ts'];
const isDir = (path) => fs.lstatSync(path).isDirectory();