Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JavaScript to .clang-format #3708

Merged
merged 1 commit into from
Nov 7, 2020

Conversation

vivien-apple
Copy link
Contributor

…e a valid format for .js file yet

Problem

Restyler complains in #3638 because it is trying to run clang-format on a .js file but .clang-format does not contains rules for JS.

Summary of Changes

In order to move forward with #3638 I just removed the line that add **/*.js files to clang-format.
One other solution could be to add some JS rules to clang-format though.

@vivien-apple vivien-apple changed the title Remove '**/*.js' from .restyled.yaml since .clang-format does not hav… Add JavaScript to .clang-format Nov 6, 2020
@vivien-apple
Copy link
Contributor Author

vivien-apple commented Nov 6, 2020

I changed the PR to add a JavaScript section to .clang-format instead of just removing the files from .restyle.yaml

@bzbarsky-apple bzbarsky-apple merged commit aa2eb3e into project-chip:master Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants