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

Align .editorconfig(s) #2

Open
9 tasks
elwinschmitz opened this issue Nov 25, 2024 · 0 comments
Open
9 tasks

Align .editorconfig(s) #2

elwinschmitz opened this issue Nov 25, 2024 · 0 comments

Comments

@elwinschmitz
Copy link
Member

elwinschmitz commented Nov 25, 2024

See: https://editorconfig.org/

Background info

Usage across repo's

See: https://github.com/search?q=org%3Arodekruis+NOT+is%3Aarchived+path%3A.editorconfig+-is%3Afork&type=code

And: https://github.com/search?q=org%3Aglobal-121+NOT+is%3Aarchived+path%3A.editorconfig+-is%3Afork&type=code

At the bottom of these search-results, click "include identical files".

Possible solution(s)

For reference: https://editorconfig.org/#file-format-details
For more referencing: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties

# See: <https://editorconfig.org/>
root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false

[*.py]
indent_size = 4

# ...?
  • root = true Should only be included when it is true / useful.
  • File-types that are never used (and never will be) should not be included
  • Some properties can be (should be?) handled by other (more specific?) tools. i.e. quote_style for .ts-files via ESLint/Prettier.

Agreed solution

To Do(s)

  • Decide on format
  • Decide on documentation?
  • Create overview of work-to-do
  • Implement/Update in: <project-name>
  • Implement/Update in: 121
  • Implement/Update in: IBF
  • Implement/Update in: ADA
  • Implement/Update in: HIA
  • ...
@elwinschmitz elwinschmitz converted this from a draft issue Nov 25, 2024
@elwinschmitz elwinschmitz changed the title Align <config-file> (TEMPLATE issue) Align .editorconfig(s) Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant