Formats the source files and writes the result to the file system
Arguments
Name
Description
files
List of file patterns in quotes to format. This overrides what is specified in the config file
Options
Name
Description
--diff
Outputs a check-like diff of every formatted file
--stdin <extension/file-name/file-path>
Format stdin and output the result to stdout. Provide an absolute file path to apply the inclusion and exclusion rules or an extension or file name to always format the text
--incremental [incremental]
Only format files when they change. This may alternatively be specified in the configuration file
--excludes <pattern>
Repeatable ♾
--allow-node-modules
Allows traversing node module directories (unstable - This flag will be renamed to be non-node specific in the future)