Files
pulse/.eslintrc.json
T
jaredandClaude Opus 5.5 74eb525413
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (push) Successful in 42s
CI / Test (jest) (push) Successful in 45s
CI / Integration (api) (push) Successful in 2m21s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m35s
CI / Lint (eslint) (push) Successful in 20s
CI / Lint (eslint) (pull_request) Successful in 14s
CI / Test (jest) (pull_request) Successful in 24s
CI / Security (npm audit) (pull_request) Successful in 25s
CI / UI (playwright) (push) Successful in 2m20s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (pull_request) Successful in 1m45s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m1s
CI / UI screenshots (before/after) (pull_request) Successful in 13s
CI / UI (playwright) (pull_request) Successful in 1m52s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI phase 5: stricter eslint, design system integrity check, PR screenshots
- eslint: errors for ==, unused or shadowed variables, eval and friends,
  prefer-const, curly, throw literals, useless catch/escape, constant
  conditions (loops allowed), unused expressions (short-circuit allowed);
  --max-warnings 0. Fixed the few violations (two unused requires in
  server.js, a shadowed mock argument in a test).
- Scan job: scripts/ci/check-web-template.sh fails if public/web_template
  differs from upstream at the commit in its VERSION (change it upstream,
  then scripts/sync-web-template.sh).
- New job UI screenshots (before/after), PRs only, when public/, views/
  or the render/nav code changed: runs the base branch and the PR side by
  side with the same seeded data and uploads one before/after image per
  page, desktop and phone (scripts/ci/screenshots.js). Not required.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 20:04:02 -05:00

81 lines
1.7 KiB
JSON

{
"env": {
"node": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "commonjs"
},
"rules": {
"semi": [
"error",
"always"
],
"no-unused-vars": [
"error",
{
"args": "after-used",
"argsIgnorePattern": "^_",
"caughtErrors": "none"
}
],
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"no-useless-escape": "error",
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"prefer-const": "error",
"curly": [
"error",
"multi-line"
],
"no-eval": "error",
"no-implied-eval": "error",
"no-new-func": "error",
"no-throw-literal": "error",
"no-useless-catch": "error",
"no-prototype-builtins": "error",
"no-shadow": [
"error",
{
"builtinGlobals": false
}
],
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
]
},
"overrides": [
{
"files": [
"tests/ui/**/*.js"
],
"env": {
"browser": true,
"node": true
}
}
]
}