nx format:write
Overwrite un-formatted files
Options
Name | Description |
---|---|
--all | All projects |
--base <arg> | Base of the current branch (usually main) |
--exclude <projects> | Exclude certain projects from being processed |
--files <arg> | Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces |
--head <arg> | Latest commit of the current branch (usually HEAD) |
--help | Show help |
--libs-and-apps | Format only libraries and applications files |
--projects <projects> | Projects (comma/space delimited) |
--uncommitted | Uncommitted changes |
--untracked | Untracked changes |
--version | Show version number |