'Ignored names still show in tree view in ATOM

I have checked 'Exclude VCS Ignored paths' in Core settings. And 'Hide ignored names', 'Hide VCS ignored files' from tree-view package settings. And then closed and reopened the ATOM. But still .gitignore files are visible. Can anyone help me to find what I'm doing wrong?

My .gitignore file contains the following

.editorconfig
node_modules/


Solution 1:[1]

I don't know if this is what you are looking for, but a possible workaround would be adding

.editorconfig, node_modules

to the Ignored Names section (Settings > Core) will hide these files and folder.

Solution 2:[2]

In addition to making sure that Ignored Names are added inside Settings > Core, you have to select "Hide Ignored Names" in Settings > Packages > tree view:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 binzabinza
Solution 2 ow3n