You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2022. It is now read-only.
Since most tagged template literals for tram-one don't actually take into account indentation, it would be ideal if they shared indentation with the rest of the project (that is, by default, 1 tab). Right now it's possible to set whatever indentation you want, but if there was a rule we could apply here, that might allow a formatter to auto-fix it to be similar to the rest of the project.
What I would like to do is force the indentation in the template to be consistent with the rest of the project (in this case, one tab). In the example above, it would be 1 tab before the starter and ending div tag, and 2 tabs before the h1 and SpecialFooter.
Potential Implementation
There might be an eslint rule we can add here that would give a warning or error on indentation being incorrect. I believe if this is the case, the formatter (xo) will pick up that this change needs to be made.
The text was updated successfully, but these errors were encountered:
Summary
Since most tagged template literals for tram-one don't actually take into account indentation, it would be ideal if they shared indentation with the rest of the project (that is, by default, 1 tab). Right now it's possible to set whatever indentation you want, but if there was a rule we could apply here, that might allow a formatter to auto-fix it to be similar to the rest of the project.
Example
Iin Tram-One, the components look a lot like this
What I would like to do is force the indentation in the template to be consistent with the rest of the project (in this case, one tab). In the example above, it would be 1 tab before the starter and ending div tag, and 2 tabs before the h1 and SpecialFooter.
Potential Implementation
There might be an eslint rule we can add here that would give a warning or error on indentation being incorrect. I believe if this is the case, the formatter (xo) will pick up that this change needs to be made.
The text was updated successfully, but these errors were encountered: