Тест scheduler-automatic-root отстал от исходников: не хватало заглушек карантина восстановления, общего шлюза БД и проверки активации. ESLint больше не обходит локальные каталоги tmp, сгенерированный .ci/docker и dist-*, ошибки Codex в новых скриптах и тестах устранены. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
39 lines
863 B
JavaScript
39 lines
863 B
JavaScript
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTs from "eslint-config-next/typescript";
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
...nextTs,
|
|
globalIgnores([
|
|
".next/**",
|
|
"out/**",
|
|
"build/**",
|
|
"backend/dist/**",
|
|
// Local scratch and disposable build outputs; some contain unreadable directories.
|
|
"tmp/**",
|
|
"tmp-*",
|
|
"tmp-*/**",
|
|
".next-*/**",
|
|
"backend/dist-*/**",
|
|
".serena/**",
|
|
".claude/worktrees/**",
|
|
".ci/docker/**",
|
|
"next-env.d.ts",
|
|
]),
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
argsIgnorePattern: "^_",
|
|
varsIgnorePattern: "^_",
|
|
caughtErrorsIgnorePattern: "^_",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
]);
|
|
|
|
export default eslintConfig;
|