TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Maintain consistent styles for developers working across various editors

72 pointsby pmarinabout 2 years ago

4 comments

bloopernovaabout 2 years ago
Part of a good software team&#x27;s toolbox.<p>Others:<p><a href="https:&#x2F;&#x2F;direnv.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;direnv.net&#x2F;</a> -- when you cd to a directory, do things like set variables.<p><a href="https:&#x2F;&#x2F;asdf-vm.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;asdf-vm.com&#x2F;</a> -- manage and use specific versions of software. Can work with direnv too!<p><a href="https:&#x2F;&#x2F;pre-commit.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pre-commit.com&#x2F;</a> -- git hooks that I personally found easier to manage than Husky.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;qoomon&#x2F;git-conventional-commits">https:&#x2F;&#x2F;github.com&#x2F;qoomon&#x2F;git-conventional-commits</a> -- enforce standard commit messages. Works with pre-commit!
评论 #35668954 未加载
评论 #35673157 未加载
评论 #35668952 未加载
评论 #35668616 未加载
评论 #35674681 未加载
tombhabout 2 years ago
What notable languages don&#x27;t have an opinionated auto-formatter? Like Python&#x2F;Black, Rust&#x2F;rustfmt, JS&#x2F;prettier, etc.
评论 #35669514 未加载
评论 #35672327 未加载
评论 #35671920 未加载
评论 #35669856 未加载
评论 #35671924 未加载
zeedudeabout 2 years ago
Here we are in the current year and we still i&#x2F;o source as raw form text. Personally, I’ve always hoped for standardized AST formats with comprehensive tooling, including source control. Many more problems vanish than are created with source as AST. For instance, this discussion.
erik_seabergabout 2 years ago
I care whether experts can understand each others’ reviewed work, not whether they would use exactly the same amount of whitespace. Don’t reformat code you aren’t rewriting, and definitely not with a tool that doesn’t understand what a developer was communicating when he laid it out that way.
评论 #35671984 未加载