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
It looks like it started out as a copy of WET's .editorconfig file, but was never revised to align with the CDTS repo's structure and intended coding styles. For example, several rules cover file formats and paths that don't exist in this project.
#366 also appears to have changed the default rule's indent_style property from tab to space - without revising all files accordingly. End result is that a few hundred files are currently using tab indents, while a few hundred others are using space indents :S.
To resolve this, I'd recommend the following:
Determine what kind of coding styles the CDTS wants to move forward with (1 tab vs 2 spaces vs 4 spaces, etc...)
Revise the .editorconfig file's rules accordingly:
Base rules on desired coding styles (refer to EditorConfig's site for more info)
Exempt third party files that don't follow any rules (via unset)
The repo's .editorconfig file is currently kind of strange.
It looks like it started out as a copy of WET's .editorconfig file, but was never revised to align with the CDTS repo's structure and intended coding styles. For example, several rules cover file formats and paths that don't exist in this project.
#366 also appears to have changed the default rule's
indent_style
property fromtab
tospace
- without revising all files accordingly. End result is that a few hundred files are currently using tab indents, while a few hundred others are using space indents :S.To resolve this, I'd recommend the following:
unset
)Thanks :)!
The text was updated successfully, but these errors were encountered: