Ruff can be used to replace Flake8 (plus dozens of plugins), Black, isort, pydocstyle, pyupgrade, autoflake, and more, all while executing tens or hundreds of times faster than any individual tool.
Global
Anti-slop is first and foremost the ruleset I use with my work, projects, and team. It reflects my preferences and taste rather than attempting to be a universal coding standard.
Know a resource that isn't listed below? Feel free to create a new pull request.
1. js best practices, as well as content written here by collaborators
Programming style, best practices, and coding conventions.
The Uber Go Style Guide.
> Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent.
>"Within C++ is a smaller, simpler, safer language struggling to get out." >-- Bjarne Stroustrup
Microsoft REST API Guidelines
The easiest way to use JavaScript Standard Style is to install it globally as a Node command line program. Run the following command in Terminal:
> ### "Part of being a good steward to a successful project is realizing that writing code for yourself is a Bad Idea™. " >Idan Gazit
中文技术文档的写作规范
You might also want to check out the real-world Laravel example application and Eloquent SQL reference
Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.
> While developing a new project is like rolling on a green field for you, maintaining it is a potential dark twisted nightmare for someone else.
js (Grunt) hjiang/scripts/add-space-between-latin-and-cjk | other | Python hustcc/hint | other | Python n0vad3v/Tekorrect | other | Python
Yet another reusable writing skill for Chinese technical documentation and product copy.
Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.
Docz makes it easy to write and publish beautiful interactive documentation for your code. Create MDX files showcasing your code and Docz turns them into a live-reloading, production-ready site.
This Ruby style guide recommends best practices so that real-world Ruby programmers can write code that can be maintained by other real-world Ruby programmers.
"This guide is a living compendium documenting the most important patterns and recipes on how to use React (and its Ecosystem) in a functional style using TypeScript. "
This style guide is different from others you may see, because the focus is centered on readability for print and the web.
a. linter) and code formatter. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide.
Google 开源项目风格指南 (中文版)