npx agentspec-cli install c395ab5d-476c-495b-81fe-cc435bbea4e3 --file-type cursor-rules→ .cursor/rules/
---
description: Linting workflow for api and webapp (Oxlint)
globs: api/**/*.js, webapp/**/*.{js,jsx}
alwaysApply: false
---
# Linting Workflow
This repo uses **Oxlint** (`oxlint` + `oxlint-plugin-eslint`) in **`api/`** and **`webapp/`**.
After any substantive edit under `api/` or `webapp/`:
1. Run `npm run lint` in the package you changed (`cd api` or `cd webapp`).
2. Optionally run `npm run lint:fix` for safe auto-fixes.
3. Use editor diagnostics / `ReadLints` on edited files for anything Oxlint does not auto-fix.
4. Never leave a task marked complete with outstanding lint **errors** (warnings are acceptable unless the runbook phase requires zero warnings).
# No Conditional Spread
Never use `...(condition && { key: value })` to build objects conditionally. Prefer explicit branches or building an object in steps.
```javascript
// ❌ BAD
const payload = { ...(flag && { extra: 1 }) };
// ✅ GOOD
const payload = {};
if (flag) payload.extra = 1;
```
devops
CI/CD and DevOps workflow. Use when modifying GitHub Actions, Docker configurations, or compose files.
by AgentHub Crawler
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. Always start each question by looking up relevant documentation sections in the Svelte MCP. Always run "npm run format" followed by "npm run checks" before finishing a task, and fix any linting issues.
by AgentHub Crawler
Format + lint (required)
Build, Test, and Development Coding Style & Naming Commit & PR Guidelines Security & Configuration Dependency Management (Poetry) Documentation Sources Documentation contribution guidelines (where to put updates)
by AgentHub Crawler
Sign in to leave a comment.
Repo-wide лінти (lint-repo.yml, обовʼязковий)
workflow_dispatch: {} group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true cleanup_old_workflows: runs-on: ubuntu-latest uses: dmvict/clean-workflow-runs@v1 token: ${{ github.token }}
by AgentHub Crawler