-
Notifications
You must be signed in to change notification settings - Fork 208
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
Install a .clang-format file instead of delegate to gts package .clang-format #120
Comments
Thanks for the suggestion! I think it is a good idea. The only reason we didn't do it so far to make sure we roll out updates to the config without having to force users to update their local copies. The use case of exposing the setting to the IDEs is a good one though. We can probably install a copy at |
As much as I'd like the IDE integration, part of the appeal of this library is that it's a no-config, easy to update, opinionated thingy. Once we start exposing the I wonder how tools like standardjs and prettier handle this kind of stuff. |
If the IDE doesn't support redefining the config file location, a temporary workaround as a developer can be to copy or symlink to the files inside I personally like the idea that |
This matters for tslint.json too although in the tslint.json example they can have an |
I think the slope would be a lot slipperier for If such a user can still derive value from this module – that is – they value the compiler, lint configs and the tooling; then I think we should let them. "Opinionated by default; not inviting customization; but ultimately allowing it" is the philosophy I would like to follow. |
I can get behind that :) |
`init` now generates a .clang-format file. This allows IDEs to pick up the config and integrate well with the gts provided style. Fixes: google#120
`init` now generates a .clang-format file. This allows IDEs to pick up the config and integrate well with the gts provided style. Fixes: #120
This is useful for IDEs and tooling to recognize the intended clang-format settings for format-on-save behaviors etc.
The text was updated successfully, but these errors were encountered: