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

Use EditorConfig #198

Open
tukusejssirs opened this issue Dec 16, 2022 · 2 comments
Open

Use EditorConfig #198

tukusejssirs opened this issue Dec 16, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request infrastructure Anything related to the surrounding tools and infrastructure

Comments

@tukusejssirs
Copy link
Contributor

I suggest to use EditorConfig.

@tukusejssirs tukusejssirs added this to the Backlog milestone Dec 16, 2022
@MRIIOT
Copy link
Contributor

MRIIOT commented Dec 16, 2022

This is a dev behavior change.
Push .editorconfig file once created.

@tukusejssirs
Copy link
Contributor Author

This is my prefered config. I don’t want to force anyone my preferences, therefore @bburns, you can change anything you want. Just name this file .editorconfig and put in the repo root folder.

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = tab
insert_final_newline = false
trim_trailing_whitespace = true

[*.{sql,json,js,ts,jsx,tsx}]
insert_final_newline = true

[{/package.json,{*.,}dockerfile}]
indent_style = space

[*.md]
indent_size = 3
indent_style = space

[*.{yaml,yml}]
indent_size = 2
indent_style = space
insert_final_newline = true

@tukusejssirs tukusejssirs removed this from the Backlog milestone Dec 17, 2022
@tukusejssirs tukusejssirs added infrastructure Anything related to the surrounding tools and infrastructure enhancement New feature or request labels Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure Anything related to the surrounding tools and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants