{"id":15028566,"url":"https://github.com/salgnt/cscs","last_synced_at":"2026-01-27T17:35:34.814Z","repository":{"id":36354170,"uuid":"40658945","full_name":"SalGnt/cscs","owner":"SalGnt","description":"A curated list of Coding Style Conventions and Standards.","archived":false,"fork":false,"pushed_at":"2022-10-29T11:33:25.000Z","size":96,"stargazers_count":1504,"open_issues_count":0,"forks_count":165,"subscribers_count":90,"default_branch":"main","last_synced_at":"2025-03-23T12:41:46.184Z","etag":null,"topics":["coding-conventions","coding-standards","coding-style","curated-list"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SalGnt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T13:00:37.000Z","updated_at":"2025-02-22T19:53:53.000Z","dependencies_parsed_at":"2023-01-17T00:44:28.137Z","dependency_job_id":null,"html_url":"https://github.com/SalGnt/cscs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalGnt%2Fcscs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalGnt%2Fcscs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalGnt%2Fcscs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalGnt%2Fcscs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SalGnt","download_url":"https://codeload.github.com/SalGnt/cscs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104463,"owners_count":20561377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coding-conventions","coding-standards","coding-style","curated-list"],"created_at":"2024-09-24T20:08:38.004Z","updated_at":"2026-01-27T17:35:34.758Z","avatar_url":"https://github.com/SalGnt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"300\" src=\"https://rawgit.com/SalGnt/cscs/main/media/logo.svg\" alt=\"Coding Style Conventions and Standards\"\u003e\n\u003c/p\u003e\n\n# Coding Style Conventions and Standards\n\nA curated list of _Coding Style Conventions and Standards_.\n\n## Table of Contents\n\n- [Programming Languages](#programming-languages)\n- [Miscellaneous](#miscellaneous)\n\n## Programming Languages\n\n### Arduino\n\n- **[Arduino Style Guide for Creating Libraries](https://docs.arduino.cc/learn/contributions/arduino-library-style-guide)**.\n- **[Arduino Style Guide for Writing Content](https://docs.arduino.cc/learn/contributions/arduino-writing-style-guide)**.\n- [The ArduPirates Coder's Bible](https://code.google.com/p/ardupirates/wiki/CodingConventions).\n\n### C\n\n- [C Coding Standard](https://users.ece.cmu.edu/~eno/coding/CCodingStandard.html).\n- [C Programming/Structure and Style](https://en.wikibooks.org/wiki/C_Programming/Structure_and_style).\n- [SEI CERT C Coding Standard](https://www.securecoding.cert.org/confluence/display/c/SEI+CERT+C+Coding+Standard).\n\n### C\u0026#35;\n\n- [C# Coding Standards Best Practices](https://www.dofactory.com/csharp-coding-standards).\n- **[Microsoft C# Coding Conventions](https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions)**.\n- [Mono Coding Guidelines](https://www.mono-project.com/community/contributing/coding-guidelines).\n\n### C++\n\n- [Apache OpenOffice Cpp Coding Standards](https://wiki.openoffice.org/wiki/Cpp_Coding_Standards)\n- [C++ Coding Standard](http://www.possibility.com/Cpp/CppCodingStandard.html).\n- [C++ Coding Standard](https://users.ece.cmu.edu/~eno/coding/CppCodingStandard.html).\n- [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).\n- [High Integrity C++ Coding Standard](http://www.codingstandard.com/section/index).\n- [WebKit Code Style Guidelines](https://webkit.org/code-style-guidelines).\n\n### Clojure\n\n- [The Clojure Style Guide](https://github.com/bbatsov/clojure-style-guide) - A community coding style guide for the Clojure programming language.\n\n### Common Lisp\n\n- [Google Common Lisp Style Guide](https://google.github.io/styleguide/lispguide.xml).\n\n### D\n\n- **[The D Style](https://dlang.org/dstyle.html)**.\n\n### Dart\n\n- **[Effective Dart: Style](https://www.dartlang.org/articles/style-guide/)**.\n\n### Elixir\n\n- [The Elixir Style Guide](https://github.com/christopheradams/elixir_style_guide) - A community driven style guide for Elixir.\n\n### Erlang\n\n- [Erlang Coding Standards \u0026 Guidelines](https://github.com/inaka/erlang_guidelines) - Inaka's Erlang Coding Guidelines.\n\n### F\u0026#35;\n\n- **[Microsoft F# code formatting guidelines](https://learn.microsoft.com/dotnet/fsharp/style-guide/formatting)**.\n- **[Microsoft F# coding conventions](https://learn.microsoft.com/dotnet/fsharp/style-guide/conventions)**.\n- **[Microsoft F# component design guidelines](https://learn.microsoft.com/dotnet/fsharp/style-guide/component-design-guidelines)**.\n\n### Fortran\n\n- **[Fortran Best Practices](https://www.fortran90.org/src/best-practices.html)**.\n\n### Go\n\n- **[How to Write Go Code](https://go.dev/doc/code)**.\n\n### Haskell\n\n- **[Haskell Programming guidelines](https://wiki.haskell.org/Programming_guidelines)**.\n- [Haskell Style Guide](https://github.com/tibbe/haskell-style-guide) - A style guide for Haskell code.\n\n### HTML/CSS\n\n- [Airbnb CSS-in-JavaScript Style Guide](https://airbnb.io/javascript/css-in-javascript/) - A mostly reasonable approach to CSS-in-JavaScript.\n- [Airbnb CSS / Sass Styleguide](https://github.com/airbnb/css) - A mostly reasonable approach to CSS and Sass.\n- [Evernote CSS Style Guide](https://github.com/evernote/css-style-guide).\n- [Google HTML/CSS Style Guide](https://google.github.io/styleguide/htmlcssguide.html).\n- [HTML style guide](https://github.com/caiogondim/html-style-guide).\n- [jQuery CSS Style Guide](https://contribute.jquery.org/style-guide/css/).\n- [jQuery HTML Style Guide](https://contribute.jquery.org/style-guide/html/).\n- [MediaWiki Coding conventions/CSS](https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS).\n- **[W3Schools HTML Style Guide](https://www.w3schools.com/html/html5_syntax.asp)**.\n- [WordPress CSS Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/).\n- [WordPress HTML Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/html/).\n\n### Java\n\n- **[Code Conventions for the Java \u0026#8482; Programming Language](https://www.oracle.com/java/technologies/javase/codeconventions-contents.html)**.\n- [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html).\n- [Java Programming Style Guidelines](https://geosoft.no/javastyle.html).\n- **[OpenJDK Java Style Guidelines](https://cr.openjdk.java.net/~alundblad/styleguide/index.html)**.\n- [SEI CERT Oracle Coding Standard for Java](https://wiki.sei.cmu.edu/confluence/display/java/SEI+CERT+Oracle+Coding+Standard+for+Java).\n\n### JavaScript\n\n- [Airbnb JavaScript Style Guide() {](https://airbnb.io/javascript/) - A mostly reasonable approach to JavaScript.\n- [Code Conventions for the JavaScript Programming Language](https://www.crockford.com/code.html).\n- [function qualityGuide () {](https://github.com/bevacqua/js) - A JavaScript Quality Guide.\n- [Google JavaScript Style Guide](https://google.github.io/styleguide/javascriptguide.xml).\n- [JavaScript Style Guide](https://github.com/bengourley/js-style-guide) - JavaScript style guide.\n- [JavaScript Style Guide](https://github.com/chamnap/javascript_style_guide) - JavaScript Style Guide.\n- [JS: The Right Way](https://jstherightway.org).\n- [jQuery JavaScript Style Guide](https://contribute.jquery.org/style-guide/js/).\n- [MediaWiki Coding conventions/JavaScript](https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript).\n- [The GoCardless JavaScript style guide](https://github.com/gocardless/javascript-style-guide) - The GoCardless JavaScript styleguide .\n- **[W3Schools JavaScript Style Guide](https://www.w3schools.com/js/js_conventions.asp)**.\n- [WordPress JavaScript Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/).\n\n#### AngularJS\n\n- **[An AngularJS Style Guide for Closure Users at Google](https://google.github.io/styleguide/angularjs-google-style.html)**.\n- [Angular Style Guide](https://github.com/johnpapa/angular-styleguide) - Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.\n\n#### React\n\n- [Airbnb React/JSX Style Guide](https://airbnb.io/javascript/react/) - A mostly reasonable approach to React and JSX.\n\n### JSON\n\n- [Google JSON Style Guide](https://google.github.io/styleguide/jsoncstyleguide.xml).\n\n### Lua\n\n- [Lua Style Guide](https://github.com/Olivine-Labs/lua-style-guide) - Olivine Labs Lua Style Guide .\n\n### Markdown\n\n- [Markdown Style Guide](https://cirosantilli.com/markdown-style-guide/).\n- [Style Guidelines: Markdown](https://github.com/carwin/markdown-styleguide) - Formatting standards for readable \u0026 consistent Markdown.\n\n### Objective-C\n\n- **[Apple Programming with Objective-C Conventions](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Conventions/Conventions.html)**.\n- **[Apple Introduction to Coding Guidelines for Cocoa](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html)**.\n- [Google Objective-C Style Guide](https://google.github.io/styleguide/objcguide.html).\n- [Macoscope Objective-C Style Guide](https://github.com/macoscope/objc-style-guide) - Our code style guidelines.\n- [NYTimes Objective-C Style Guide](https://github.com/NYTimes/objective-c-style-guide) - The Objective-C Style Guide used by The New York Times.\n- [Robots \u0026 Pencils Objective-C Style Guide](https://github.com/RobotsAndPencils/objective-c-style-guide) - Our Objective-C coding style guide.\n- [Wonderful Objective-C Style Guide](https://github.com/markeissler/wonderful-objective-c-style-guide) - A complete OSX and iOS Objective-C coding style guide.\n\n### Pascal\n\n- **[Free Pascal and Lazarus Coding style](https://wiki.freepascal.org/Coding_style)**.\n- [Object Pascal Style Guide ](https://edn.embarcadero.com/article/10280).\n\n### Perl\n\n- [Apache OpenOffice Perl Coding Standards](https://wiki.openoffice.org/wiki/Perl_Coding_Standards).\n- **[Perl style guide](https://perldoc.perl.org/perlstyle)**.\n- [Perl style guide](https://metacpan.org/dist/perl/view/pod/perlstyle.pod).\n- [SEI CERT Perl Coding Standard](https://wiki.sei.cmu.edu/confluence/display/perl/SEI+CERT+Perl+Coding+Standard).\n\n### PHP\n\n- [MediaWiki Coding conventions/PHP](https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP).\n- [PHP-FIG PSR-12: Extended Coding Style](https://www.php-fig.org/psr/psr-12/).\n- [WordPress PHP Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/).\n\n### Prolog\n\n- [Prolog programming guidelines](https://lifeware.inria.fr/~soliman/post/prolog_guidelines/).\n\n### Python\n\n- [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).\n- [MediaWiki Coding conventions/Python](https://www.mediawiki.org/wiki/Manual:Coding_conventions/Python).\n- **[Python PEP 8 - Style Guide for Python Code](https://peps.python.org/pep-0008/)**.\n- [The Hitchhiker's Guide to Python - Code Style](https://docs.python-guide.org/writing/style/).\n\n### R\n\n- [Google's R Style Guide](https://google.github.io/styleguide/Rguide.html).\n- [R Style Guide](https://jef.works/R-style-guide/) - Best practices for readable, sharable, and verifiable R code.\n\n### Ruby\n\n- [Airbnb Ruby Style Guide](https://github.com/airbnb/ruby) - Ruby Style Guide.\n- [MediaWiki Coding conventions/Ruby](https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby).\n- [Ruby Style Guide](https://github.com/rubocop/ruby-style-guide) - A community-driven Ruby coding style guide.\n- [The Unofficial Ruby Usage Guide](https://caliban.org/ruby/rubyguide.shtml).\n\n#### Ruby on Rails\n\n- **[Contributing to Ruby on Rails](https://guides.rubyonrails.org/contributing_to_ruby_on_rails.html)**.\n- [Rails Style Guide](https://github.com/rubocop/rails-style-guide) - A community-driven Ruby on Rails style guide .\n\n### Rust\n\n- **[Rust Style Guidelines](https://doc.rust-lang.org/1.0.0/style/README.html)**.\n\n### Scala\n\n- **[Scala Style Guide](https://docs.scala-lang.org/style/)**.\n\n### Shell\n\n- [Bash Style Guide](https://github.com/bahamas10/bash-style-guide) - A style guide for writing safe, predictable, and portable bash scripts (not sh!) .\n- [Community Bash Style Guide](https://github.com/azet/community_bash_style_guide) - Community Bash Style Guide: writing useful and modern bash scripts, seriously.\n- [Google Shell Style Guide](https://google.github.io/styleguide/shellguide.html).\n- [Shell Script Best Practices](https://sharats.me/posts/shell-script-best-practices/).\n\n### Swift\n\n- **[Apple API Design Guidelines](https://www.swift.org/documentation/api-design-guidelines/)**.\n- [Google Swift Style Guide](https://google.github.io/swift/).\n- [Metova's Swift Style Guide](https://github.com/metova/swift-style-guide).\n- [Swift Style Guide](https://github.com/SlideShareInc/swift-style-guide) - SlideShare Swift Style Guide we are using for our upcoming iOS 8 only app written in Swift .\n\n### VHDL\n\n- [VHDL Coding Style Guidelines](https://webdocs.cs.ualberta.ca/~amaral/courses/329/labs/VHDL_Guideline.html).\n\n### Visual Basic\n\n- **[Microsoft Visual Basic Coding Conventions](https://learn.microsoft.com/dotnet/visual-basic/programming-guide/program-structure/coding-conventions)**.\n- **[Microsoft Visual Basic Naming Conventions](https://learn.microsoft.com/en-us/dotnet/visual-basic/programming-guide/program-structure/naming-conventions)**.\n- [Visual Basic/Coding Standards](https://en.wikibooks.org/wiki/Visual_Basic/Coding_Standards).\n\n### XML\n\n- [Google XML Document Format Style Guide](https://google.github.io/styleguide/xmlstyle.html).\n\n## Miscellaneous\n\n### Changelog\n\n- [Keep a Changelog](https://keepachangelog.com) - Don't let your friends dump git logs into changelogs.\n\n### Git\n\n- [Git Style Guide](https://github.com/agis-/git-style-guide) - A Git Style Guide.\n- [Udacity Git Commit Message Style Guide](https://udacity.github.io/git-styleguide).\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## License\n\nThis list was created by [Salvatore Gentile](https://twitter.com/_sgentile) and is released under **The MIT License (MIT)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalgnt%2Fcscs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalgnt%2Fcscs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalgnt%2Fcscs/lists"}