editorconfig settings for [*] do not get applied to hidden files in Web IDE
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=361927) </details> <!--IssueSummary end--> ### Summary When using the Web IDE in conjunction with a `.editorconfig` file that applies rules via the `[*]` file spec, it doesn't apply those rules to hidden files such as the `.gitlab-ci.yml` file. ### Steps to reproduce 1. Create repo with a `.editorconfig` with the following content: ``` # This file is the top-most EditorConfig file root = true # All Files [*] trim_trailing_whitespace = true ``` 2. Create a hidden files (e.g. `.gitlab-ci.yml`) with whitespace at the end of a line 3. Save the file (toggle to a different file) ### Example Project https://gitlab.com/-/ide/project/peanderson/editorconfig_test ### What is the current *bug* behavior? Files end up incorrectly formatted when committed to source control ### What is the expected *correct* behavior? `[*]` rules should be applied to hidden files (files that start with `.`) ### Relevant logs and/or screenshots Has whitespace: ![image](/uploads/0a17669bd500dff3131a7b9372c2ad95/image.png) No whitespace (only newline char): ![image](/uploads/2193dcc5974edf053a23a4ca8f67c3a3/image.png) ### Output of checks This bug happens on GitLab.com
issue