clang-format icon indicating copy to clipboard operation
clang-format copied to clipboard

Node repackaging of the clang-format native binary

Results 10 clang-format issues
Sort by recently updated
recently updated
newest added

As per the comment linked in the suggested change, this would make it more obvious that the package is no longer maintained. See https://github.com/angular/clang-format/issues/82#issuecomment-1748482685 for context.

I would like to use the clang-format config `LineEnding` introduced in v16, however v1.8.0 comes with clang-format v15. Is there a chance to upgrade to use clang-format v16?

I'm using an Arm Mac and trying to use this package inside of a Linux container and getting the following error message: ``` Error: This module doesn't bundle the clang-format...

I'm setting up clang-format with precommit hook in a repository on a windows machine and getting the below error emitted from the check-clang-format script. The file it's complaining about does...

clang-format does not handle class definitions where the extends clause is an expression more complicated than a sequence of dot-separated identifiers: Expected output: ``` typescript function identity(x: T) { return...

1. run `./bin/darwin_x64/clang-format -i -style=file index.js bin/check-clang-format.js` 2. `yarn precommit` fails (And is executed as a pre-commit hook). I'll go ahead and disable the pre-commit hook for now to unblock...

enhancement

Input: `of(null)` Output: `of (null)` Expected: `of(null)` Input: `import {of} from 'rxjs/observable/of';` Output: `import {of } from 'rxjs/observable/of';` Expected: `import {of} from 'rxjs/observable/of';`

See comment from review (that I didn't see on Friday, sorry for the late drive by comment!): Could you add docs that this is of course a Windows-only issue, and...

My use case is to format my TypeScript code, in a project that only uses `tsc` as the build system (no gulp). I can use the new `--glob` syntax (thanks...

When I change `ColumnLimit` from 0 to 120, it results in changes like the following. ![image](https://github.com/angular/clang-format/assets/42013603/14495d79-d46e-4a61-ac2d-ab78f5a7b6fd) This is kind of gross looking and I'd like to avoid it, while still...