dev-commands
:::info This document covers the core development commands for building, running, and…
:::info This document covers all code quality commands for the eIsland project — ESLint, Stylelint, HTML validation, comment checks, and i18n completeness. :::
$ npx -y skills add JNTMTMTM/eIsland --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/quality-commandsContext preview
What this command does when you run it.
:::info This document covers all code quality commands for the eIsland project — ESLint, Stylelint, HTML validation, comment checks, and i18n completeness. :::
title: Code Quality Commands icon: check-double
:::info This document covers all code quality commands for the eIsland project — ESLint, Stylelint, HTML validation, comment checks, and i18n completeness. :::
All commands are run from the project root:
npm run <script>
:::warning Commands using `--experimental-strip-types` require **Node.js 22+**. See [Frontend Setup — Prerequisites](/developer/environment-setup/frontend-setup.md#prerequisites). :::
Runs ESLint on the entire project with zero warnings allowed.
npm run lint
**Under the hood:** `eslint . --max-warnings=0`
**What it checks:**
:::important Run this before every commit. CI rejects PRs that fail the lint check. :::
Alias for `lint` — runs the same ESLint check.
npm run lint:eslint
Runs ESLint with automatic fixing. Corrects formatting, import order, and other auto-fixable issues.
npm run lint:fix
**Under the hood:** `eslint . --fix --max-warnings=0`
:::tip Use `lint:fix` after pulling upstream changes to auto-resolve formatting conflicts. Review the diff before committing — auto-fix may change behavior in edge cases. :::
Runs ESLint and generates an HTML report in `reports/eslint.html`. Useful for reviewing all violations in a browser with clickable file links.
npm run lint:report
**Under the hood:** `eslint . --max-warnings=0 --format html --output-file reports/eslint.html`
:::tip Use `lint:report` when onboarding or after a large refactor — the HTML report makes it easier to triage many violations than terminal output. :::
Runs ESLint and generates a machine-readable JSON report in `reports/eslint.json`. Useful for CI pipelines or custom tooling that consumes lint results programmatically.
npm run lint:report:json
**Under the hood:** `eslint . --max-warnings=0 --format json --output-file reports/eslint.json`
Runs only the comment-related ESLint rules (JSDoc, file headers, method comments). Faster than a full lint when you only need to validate documentation compliance.
npm run lint:comments
**Under the hood:** `eslint . --config scripts/lint/comments.config.mjs --max-warnings=0`
**What it checks:**
:::note This uses a dedicated config (`comments.config.mjs`) that filters the main ESLint config to only JSDoc and project comment rules. :::
Runs Stylelint on all CSS and SCSS files in `src/` and `web/`.
npm run lint:css
**Under the hood:** `stylelint "{src,web}/**/*.{css,scss}" "web/**/.vuepress/**/*.{css,scss}" --max-warnings=0`
**What it checks:**
Runs Stylelint with automatic fixing.
npm run lint:css:fix
:::tip Stylelint auto-fix handles property reordering, shorthand consolidation, and quote normalization. Always review the output — property order changes can affect cascade behavior. :::
Validates all HTML files against the project's HTML standards.
npm run lint:html
**Under the hood:** `html-validate "{src,web}/**/*.html" --max-warnings=0`
**What it checks:**
:::note The project includes a custom `eisland/document-standards` HTML rule that enforces additional conventions beyond the standard `html-validate:recommended` preset. :::
Runs all lint checks in parallel — ESLint, Stylelint, HTML validation, and i18n completeness.
npm run lint:all
**Under the hood:** `run-p --continue-on-error lint:eslint lint:css lint:html i18n:check`
:::important `lint:all` uses `--continue-on-error`, so all checks run even if one fails. Review all failures, not just the first one. :::
Runs the ESLint configuration self-test — validates that rules load correctly, environment isolation works, and key requirements are enforced.
npm run lint:config:test
**Under the hood:** `node --test scripts/lint/config.test.mjs`
**What it verifies:**
:::tip Run `lint:config:test` after modifying any ESLint, Stylelint, or HTML-validate configuration to verify the changes don't break existing rules. :::
eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron.
Repo: JNTMTMTM/eIsland
:::info This document covers the core development commands for building, running, and…
:::info This document covers the ESA (Edge Security Acceleration) CDN cache purge commands…
:::info This document covers the packaging and lifecycle commands for building distributable…
:::info This document covers all build, test, and smoke commands for eIsland native plugins.…
:::info This document covers the release and changelog commands for publishing eIsland builds…
:::info This document covers the testing commands for running, filtering, and measuring test…