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

Add editorconfig #8045

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

tangledbytes
Copy link
Member

@tangledbytes tangledbytes commented May 14, 2024

Explain the changes

This PR adds editorconfig for JS and native code.

Justification
EditorConfig is widely supported in most of editors/IDEs - Goland (and other JetBrains IDEs), Neovim, VSCode (extention), emacs (extension), etc. This should really help in automatically configuring the editors in setting up tabs/spaces etc.
I have accidentally committed code with tabs for indentation as my editor was unaware of the styling guide, this is to minimize the chances of such future accidents.

  • Doc added/updated
  • Tests added

@tangledbytes tangledbytes requested review from a team and liranmauda and removed request for a team May 14, 2024 06:30
Copy link
Contributor

@liranmauda liranmauda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>

add editorconfig for native code as well

Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
@tangledbytes tangledbytes force-pushed the utkarsh/add/editorconfig branch from 557de49 to 3030da3 Compare May 15, 2024 07:32
@tangledbytes tangledbytes merged commit 8c9d478 into noobaa:master May 15, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants