-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> An opinionated code formatter for JavaScript, JSON, CSS, YAML, and more.
Format a file and print the result to stdout:
prettier {path/to/file}
Check if a specific file has been formatted:
prettier --check {path/to/file}
Run with a specific configuration file:
prettier --config {path/to/config_file} {path/to/file}
Format a file or directory, replacing the original:
prettier --write {path/to/file_or_directory}
Format files or directories recursively using single quotes and no trailing commas:
prettier --single-quote --trailing-comma {none} --write {path/to/file_or_directory}
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Mon May 20 22:34:57 2024