faa0707f79
Lint / Python (flake8) (push) Successful in 53s
Lint / JS (eslint) (push) Successful in 12s
Security / Python Security (bandit) (push) Successful in 1m44s
Test / Python Tests (pytest) (push) Successful in 59s
Lint / Notify on failure (push) Has been skipped
Lint / Deploy (push) Successful in 3s
Without a config file, ESLint was running with no-undef disabled, meaning undefined variable references in static/app.js were silently ignored. Add .eslintrc.json with no-undef: error and eqeqeq: error so CI actually catches JS bugs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
449 B
JSON
22 lines
449 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"globals": {
|
|
"lt": "readonly",
|
|
"GANDALF_CONFIG": "readonly",
|
|
"CSS": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-undef": "error",
|
|
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
|
|
"no-console": "off",
|
|
"eqeqeq": ["error", "always", { "null": "ignore" }]
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2021,
|
|
"sourceType": "script"
|
|
}
|
|
}
|