An open API service indexing awesome lists of open source software.

https://github.com/bytecodeagency/coding-standards

(MIRROR) Bytecode Coding Standards. Includes guidelines for Security, Git, Docker, HTML/CSS, JS/TS, PHP, Python and Elixir.
https://github.com/bytecodeagency/coding-standards

Last synced: 10 months ago
JSON representation

(MIRROR) Bytecode Coding Standards. Includes guidelines for Security, Git, Docker, HTML/CSS, JS/TS, PHP, Python and Elixir.

Awesome Lists containing this project

README

          

# Bytecode Digital Agency B.V. Coding Standards

[![Developed by](https://img.shields.io/badge/Developed%20by-Bytecode.nl-green.svg)](https://bytecode.nl)
[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![FOSSA Status](https://app.fossa.io/api/projects/custom%2B4543%2Fgit%40git.bytedev.io%3Abytecode%2Fcoding-standards.git.svg?type=shield)](https://app.fossa.io/projects/custom%2B4543%2Fgit%40git.bytedev.io%3Abytecode%2Fcoding-standards.git?ref=badge_shield)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/59b7a5078ae345fd9c5fb4f4e27d59aa)](https://www.codacy.com/app/lucianonooijen/coding-standards_2?utm_source=git.bytedev.io&utm_medium=referral&utm_content=bytecode/coding-standards&utm_campaign=Badge_Grade)

## About

The coding standards for developers at Bytecode Digital Agency B.V. to ensure code health and quality of the products delivered to our clients.

All of our conventions regarding indentation and such can also be found in the form of an `.editorconfig` file.

Please read this file thoroughly, and also check out the links in the [Final words](#final-words) section. Spending half an hour now can save you many hours during projects!

*For installing all Javascript/Typescript linting dependencies, you can use a shell script, just run `curl https://raw.githubusercontent.com/BytecodeAgency/Coding-Standards/master/bin/bootstrap | bash` while within the repo you want to bootstrap*

# Table of Contents

We will discuss the following points in this Coding Standards file:

* [General](./docs/general)
* [Testing](./docs/testing)
* [Security](./docs/security)
* [Typescript](./docs/typescript)
* [PHP](./docs/php)
* [Python](./docs/python)
* [Elixir](./docs/elixir)
* [HTML, CSS, SASS](./docs/html)
* [Git](./docs/git)
* [Docker](./docs/docker)

# Final words

Some final words of this Coding Guidelines file:

#### Recommended books about clean code

* "Clean Code" by Robert C. Martin (Uncle Bob)
* "The Clean Coder" by Robert C. Martin (Uncle Bob)

#### Sources

The following sources are used for the creation of this Coding Guidelines file, please also read the following sources (you don't have to go in depth), because of course we couldn't add every single usable detail in this file.

* [Airbnb Javascript standards](https://github.com/airbnb/javascript)
* [Javascript project guidelines](https://github.com/wearehive/project-guidelines)
* [Sitepoint SASS project architecture](https://www.sitepoint.com/architecture-sass-project/)
* [SASS Guidelin.es](https://sass-guidelin.es/), please read [this](https://sass-guidelin.es/#too-long-didnt-read) part for some great tips
* [Altavia ACT styleguide](https://github.com/Altavia-ACT/styleguide)
* [Gitignore creator](https://www.gitignore.io/)
* [WordPress Codex](https://codex.wordpress.org/)
* [Roots.io](https://roots.io/)
* [Wikipedia - DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)
* [Fibonacci](https://3.7designs.co/blog/2010/10/how-to-design-using-the-fibonacci-sequence/)
* [Yarn](https://www.sitepoint.com/yarn-vs-npm/)
* [BEM](http://getbem.com/naming/)

#### Starter packs

* Try to not use starter packs at all
* This repo for Parcel/Handlebars development
* [Mega Boiler Plate](https://github.com/sahat/megaboilerplate)

#### Contributors

* [Luciano Nooijen - Bytecode Digital Agency B.V.](https://bytecode.nl)
* [Jeroen van Steijn - Bytecode Digital Agency B.V.](https://bytecode.nl)