Skip to content

Code style preferences and guidelines #82

@puffo

Description

@puffo

While we extend and cleanup some areas of the codebase, we should start to discuss some of our coding style preferences to prepare for some kind of contributions.md file in future.

This issue can be a place for us to discuss our preferences.

Ongoing List of Standards:

Function signatures

  1. When creating a function that adheres to a TS type, avoid restating the already defined parameter types in the new function.
  2. When creating a function where the context for input parameters is clear, use shorts name for those parameters.

General

  1. Avoid leaving TODOs in the codebase. Rather generate a Github issue with a decent description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions