# Drupal contrib module — smart_404
#
# This repo IS the module. Everything Drupal core and DDEV generate around it
# is scaffolding, not part of the release. Whatever is tracked here ends up in
# the release tarball on Drupal.org, so keep it clean.

# --- DDEV / local environment scaffolding ---
# Created by ddev-drupal-contrib: core, dependencies and the symlinked docroot.
/vendor/
/web/
composer.lock
composer.contrib.json

# DDEV project config. Uncomment the next line if you do NOT want to share the
# DDEV setup with other maintainers. Keeping it tracked is fine and useful,
# but then exclude it from the release (see note at the bottom).
/.ddev/
/.ddev/*.local.yaml
/.ddev/providers/
/.ddev/homeadditions/

# --- Frontend tooling ---
/node_modules/
/.npm/
/.yarn/
npm-debug.log*
yarn-error.log*
package-lock.json

# --- Test and analysis output ---
/.phpunit.cache/
/.phpunit.result.cache
.phpcs-cache
/build/
/coverage/
/reports/
phpunit.xml
# Note: phpstan.neon is tracked deliberately (not ignored): the GitLab CI
# phpstan job uses it automatically if present, instead of downloading a
# generic default, so keeping our own committed here is what makes local
# and CI phpstan runs use the same configuration. There is no equivalent
# phpunit.xml.dist to track: this module has no PHPUnit config of its own
# and intentionally reuses Drupal core's (see README.md).

# --- Local Drupal settings ---
settings.local.php
services.local.yml
/sites/*/files/
/sites/*/private/

# --- IDE ---
/.idea/
/.vscode/
*.iml
*.sublime-project
*.sublime-workspace

# --- OS ---
.DS_Store
.DS_Store?
._*
Thumbs.db
desktop.ini

# --- Editor leftovers ---
*.swp
*.swo
*~
*.bak
*.orig
*.rej

# --- Secrets ---
.env
.env.*
*.key
*.pem

# --- Drupal core scaffold files ---
# Written into the project root by composer scaffold when core is installed.
# This repo is the module, so these are not ours.
/.editorconfig
/.gitattributes
/README.txt
/.csslintrc
/.eslintignore
/.eslintrc.json
/.ht.router.php
/.htaccess
/autoload.php
/autoload_runtime.php
/example.gitignore
/index.php
/INSTALL.txt
/robots.txt
/update.php
/web.config

# Full Drupal site tree that ddev-drupal-contrib builds around this module
# for local testing (docroot is web/, so these are scaffold, not the module).
/modules/
/profiles/
/sites/
/themes/

recipes/*
