question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nx format:check --verbose should actually show what is wrong with a file

See original GitHub issue

Description

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:open
  • Created 3 years ago
  • Reactions:56
  • Comments:31

github_iconTop GitHub Comments

38reactions
konrad-garuscommented, Sep 6, 2021

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.

20reactions
konniccommented, Feb 22, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

format:check - CLI command - Nx
Check for un-formatted files.
Read more >
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found