Linting configs (PHPCS, ESLint, Stylelint), Forgejo CI pipeline, WordPress health check, PHP linter, strain migration tool, and Docker local dev environment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
783 B
Markdown
31 lines
783 B
Markdown
# Weedops Dev Tooling
|
|
|
|
Shared development tools, CI configurations, and scripts for the Weedops WordPress platform.
|
|
|
|
## Contents
|
|
|
|
- `linting/` — PHP_CodeSniffer and ESLint configs for WordPress theme development
|
|
- `ci/` — Forgejo Actions CI pipeline templates
|
|
- `scripts/` — Health checks, migration tools, and deployment helpers
|
|
- `docker/` — Local development environment configs
|
|
|
|
## Usage
|
|
|
|
Copy configs into your project or reference them from your CI pipeline:
|
|
|
|
```bash
|
|
# Run PHP linting
|
|
./scripts/lint-php.sh /path/to/theme
|
|
|
|
# Run WordPress health check
|
|
./scripts/wp-health-check.sh
|
|
|
|
# Run full CI locally
|
|
./scripts/run-ci-local.sh
|
|
```
|
|
|
|
## Standards
|
|
|
|
- WordPress Coding Standards for PHP
|
|
- ESLint with WordPress preset for JS
|
|
- All themes must pass linting before merge
|