Cursorignore in workspace

Hello I want to know if its possible to work with the following set up:

One workspace with 2 folders.

  • 1st folder with all my application code. “core”
  • 2nd folder with cursor files (.cursorignore, context.md, etc) “config”

Basically I cannot commit files related to cursor in my application source code, thats why i need to work with a different folder.

My issues is that the .cursorignore in my “config” folder is not ignoring files from “core” folder.

.env
*.env
env.*
**/.env
**/.env.local
**/.env.development
**/.env.production
**/.env.test
**/.env.test.local
**/*.env
**/env.*

How can I fix this and identify the files that are currently ignored?