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

Consider adding an .editorconfig file for consistent formatting #253

Open
benfrancis opened this issue Aug 3, 2022 · 1 comment
Open

Comments

@benfrancis
Copy link
Member

Architecture call 2022-08-03:

PR #249 tidied up indentation in index.html to make the source code more readable, but this may not be reproduceable by all authors.

@egekorkan suggested adding an .editorconfig file with formatting rules, similar to the one used in WoT Binding Templates.

@benfrancis
Copy link
Member Author

I suggest:

  • Two spaces per tab, since HTML can have many levels of indentation
  • 80 or 120 character line length
  • Trimming trailing whitespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants