Skip to content

Instantly share code, notes, and snippets.

@Sean12mps
Created March 2, 2025 17:00
Show Gist options
  • Select an option

  • Save Sean12mps/1e5a646d7e6eb20de6f9548a073de089 to your computer and use it in GitHub Desktop.

Select an option

Save Sean12mps/1e5a646d7e6eb20de6f9548a073de089 to your computer and use it in GitHub Desktop.
Cursor index ignore for WP projects in Local by Flywheel
# WordPress core files
app/public/wp-admin/
app/public/wp-includes/
app/public/wp-content/upgrade/
app/public/wp-content/uploads/
app/public/wp-content/cache/
app/public/wp-content/themes/
app/public/wp-content/mu-plugins/
app/public/wp-content/languages/
# Local by Flywheel specific
app/sql/
app/logs/
app/conf/
# Build and configuration directories
.gulp-tasks/
tests/
conf/
# Common development directories
node_modules/
vendor/
.git/
.svn/
.idea/
.vscode/
# Common build directories
dist/
build/
tmp/
# Common WordPress development files
*.sql
*.log
.htaccess
# Common WordPress cache and temporary files
*.cache
*.tmp
*.temp
# Common WordPress backup files
*.bak
*.backup
*.old
*~
# Common WordPress media files (usually large and not needed for indexing)
*.mp4
*.mp3
*.pdf
*.zip
*.gz
*.tar
*.7z
*.rar
# Common image files (usually not needed for code indexing)
*.jpg
*.jpeg
*.png
*.gif
*.ico
*.svg
*.webp
# Minified files
*.min.js
*.min.css
# Source maps
*.map
# Environment files
.env*
local-config.php
# Build configuration files
gulpfile*.js
gulpfile*.mjs
*config.json
composer.json
package.json
@Sean12mps
Copy link
Copy Markdown
Author

This file would be located at the root of the WP project.

Project
|
| - app
|   | - public
|   | - sql
| - conf
| - logs
| - .cursorignore
| - .cursorindexingignore // Here.
|
| ...
|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment