The TAGWALK developers guidelines.
Resources:
Resources:
General rules:
- class/attributes naming:
snake-case
- never use
!important
- do not use
px
unit for bloc size - try to avoid use of
id
attribute when possible, useclass
instead - use
rem
unit for font-size, margin and padding properties - use
%
unit for height and width properties
Resources:
- https://cssguidelin.es/
- https://www.sitepoint.com/sass-semantically-extend-bootstrap/
- http://smacss.com/
General rules:
- data-* attributes are designed to store data
- prefer
import
asrequire
see more
Resources:
- http://jstherightway.org/
- https://www.w3schools.com/js/js_conventions.asp
- https://google.github.io/styleguide/jsguide.html
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
- https://github.com/airbnb/javascript
- https://github.com/rwaldron/idiomatic.js
General rules:
- Use PHP 7
- Write unit and/or functionnal tests when possible and relevant
- Use type hint in PHP function parameters and return values
Coding Standards:
Resources:
Resources:
- Slack support: https://app.slack.com/client/T39U3FUKV/C3EQ7S3MJ
- Documentation: https://symfony.com/doc/current/