Codebase indexing issue, also including files in .cursorignore and .gitignore

I am using the latest version, there seems to be an issue while codebase indexing… it is neither respecting the .gitignore file nor the .cursorignore file. I have over 10k json files I don’t need to index all that.