Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript style guide (might be done partly) #2

Open
ValentinKarnaukhov opened this issue Jun 22, 2024 · 0 comments
Open

Javascript style guide (might be done partly) #2

ValentinKarnaukhov opened this issue Jun 22, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed javascript javascript language

Comments

@ValentinKarnaukhov
Copy link
Owner

We are looking for contributor with javascript skills to write a style guide for javascript.

Target file here

Style guide should contains

  • Code Formatting:

    • Indentation (number of spaces or tabs).
    • Line length (maximum number of characters per line).
    • Placement of curly braces.
    • Rules for empty lines and spaces.
  • Naming Conventions

    • Conventions for naming variables, functions, classes, and constants.
    • Use of camelCase, PascalCase, or snake_case.
    • Rules for naming private and public members.
  • Code Structure

    • Organization of files and directories.
    • Order of methods and fields in a class.
    • Separation of logic into modules and functions.
  • Comments

    • Use and formatting of comments.
    • Documentation of functions and methods (e.g., using Javadoc, docstrings, etc.).
    • Comments for complex or non-trivial sections of code.
  • Examples and Best Practices

    • Examples of well-written code.
    • Illustrations of typical errors and how to avoid them.
@ValentinKarnaukhov ValentinKarnaukhov added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed javascript javascript language good first issue Good for newcomers labels Jun 22, 2024
@ValentinKarnaukhov ValentinKarnaukhov changed the title Javascript style guide Javascript style guide (might be done partly) Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed javascript javascript language
Projects
None yet
Development

No branches or pull requests

1 participant