TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Maintain consistent styles for developers working across various editors

72 点作者 pmarin大约 2 年前

4 条评论

bloopernova大约 2 年前
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 未加载
tombh大约 2 年前
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 未加载
zeedude大约 2 年前
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_seaberg大约 2 年前
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 未加载