-
Notifications
You must be signed in to change notification settings - Fork 0
Integrations
The CLI remains the source of truth for full reports, baselines, SARIF, HTML, and CI behavior. The integration templates are intentionally small starting points.
The repository includes .prettierrc.json and .prettierignore.
npm run format:checkUse Prettier for repository formatting. Use the detector for localization quality.
Use this template in .git/hooks/pre-commit:
#!/usr/bin/env bash
set -euo pipefail
npm run typecheck
npm test
npm run check:packageMake it executable:
chmod +x .git/hooks/pre-commitTeams that use Husky or lefthook can run the same commands from those tools.
integrations/eslint-plugin-i18n-smell-detector contains an experimental ESLint plugin with a JSX static text rule.
It is meant for fast editor feedback. The CLI should still be used for full project checks because it understands locale files, baselines, reports, and CI severity thresholds.
integrations/vscode-extension contains a minimal extension template that contributes a command for running the CLI in a terminal.
Future work can turn JSON output into diagnostics.