nx format:check --verbose should actually show what is wrong with a file
See original GitHub issueDescription
As nx format:check
shows which files fail the format check but not what is actually wrong in them, I would love if the --verbose
option could actually add that information. At the moment, unless I am doing something wrong, nx format:check --verbose
has the same output as nx format:check
.
Motivation
The command would give more information about what is actually wrong in the file format.
Suggested Implementation
I would love if the --verbose
option could actually add that information.
Alternate Implementations
As an alternative, I would like even only to see either the line where the check fails, or maybe the broken rule.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:56
- Comments:31
Top Results From Across the Web
prettier vs. nx format:check - nrwl - Stack Overflow
In a subdirectory which includes an angular template, I can verify the issue: $ nx format:check --files login.component.html $ prettier -c loginΒ ...
Read more >Nx on Twitter: "Nx CLI tip: ππ‘ ππππππ:πππππ ...
Nx CLI tip: ππ‘ ππππππ:πππππ identifies unformatted files. ππ‘ ππππππ:π ππππ formats files using workspace config.
Read more >ncdf4: Interface to Unidata netCDF (Version 4 or Earlier ...
The R package ncdf4 can read either format. NetCDF files contain one or more variables, which are usually structured as regular N-dimensional arrays....
Read more >Prettier + Format On Save = Never worry about ... - Scott Sauber
You can increase that to the VS Code default of 4 if you want extremely easily. Add a .prettierrc file in the root...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Itβs like a slap in the face without ever even telling you why. Imagine a compiler telling you βError, GFY, periodβ.
Please add this.
If it helps anyone, running
nx format:write
solved issue for me. Nevertheless, it would be nice if the --verbose flag provided some extra info.