Add CI pipeline, Meilisearch service, CacheService and code quality tools
- CI: lint, PHPStan, PHP CS Fixer, ESLint, Stylelint, security audit, build
- MeilisearchService: async via Messenger, sync search
- MeilisearchMessage + handler for async operations
- CacheService with CacheKey enum (TTL per key, remember pattern)
- Meilisearch env vars in .env.local, vault and env.local.j2
- Messenger routing for MeilisearchMessage
- PHPStan level 6, ESLint, Stylelint configs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 22:08:54 +01:00
|
|
|
export default [
|
|
|
|
|
{
|
|
|
|
|
files: ["assets/**/*.js"],
|
2026-03-19 00:08:29 +01:00
|
|
|
languageOptions: {
|
|
|
|
|
globals: {
|
|
|
|
|
document: "readonly",
|
|
|
|
|
window: "readonly",
|
|
|
|
|
console: "readonly",
|
|
|
|
|
},
|
|
|
|
|
},
|
Add CI pipeline, Meilisearch service, CacheService and code quality tools
- CI: lint, PHPStan, PHP CS Fixer, ESLint, Stylelint, security audit, build
- MeilisearchService: async via Messenger, sync search
- MeilisearchMessage + handler for async operations
- CacheService with CacheKey enum (TTL per key, remember pattern)
- Meilisearch env vars in .env.local, vault and env.local.j2
- Messenger routing for MeilisearchMessage
- PHPStan level 6, ESLint, Stylelint configs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 22:08:54 +01:00
|
|
|
rules: {
|
|
|
|
|
"no-unused-vars": "warn",
|
|
|
|
|
"no-undef": "error",
|
|
|
|
|
"no-console": "warn",
|
|
|
|
|
"eqeqeq": "error",
|
|
|
|
|
"no-var": "error",
|
|
|
|
|
"prefer-const": "warn",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-03-20 19:59:09 +01:00
|
|
|
ignores: ["node_modules/", "public/build/", "vendor/", "public/sw.js", "public/workbox/", "public/idb/"],
|
Add CI pipeline, Meilisearch service, CacheService and code quality tools
- CI: lint, PHPStan, PHP CS Fixer, ESLint, Stylelint, security audit, build
- MeilisearchService: async via Messenger, sync search
- MeilisearchMessage + handler for async operations
- CacheService with CacheKey enum (TTL per key, remember pattern)
- Meilisearch env vars in .env.local, vault and env.local.j2
- Messenger routing for MeilisearchMessage
- PHPStan level 6, ESLint, Stylelint configs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 22:08:54 +01:00
|
|
|
},
|
|
|
|
|
];
|