I have a hidden folder /.idea
from the IDE that I want to ignore. I have followed the patter of https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore but it is not being ignored.
// .gitignore
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
package-lock.json
**/node_modules
# testing
/coverage
# production
/build
# Things that I have tried
.idea/
/.idea/
.idea/**
What would be the way to ignore it?