diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 0d41776..531676e 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -13,6 +13,10 @@ module.exports = { "*.config.cjs", "*.config.mjs", "*.config.ts", + // Next.js ESLint resolves `pages/` from repo root; lint each portal with its package `pnpm run lint`. + "**/OMNL/**", + "**/DBIS/**", + "**/ICCC/**", + "**/XOM/**", ], }; - diff --git a/OMNL b/OMNL index a22689c..e9b665a 160000 --- a/OMNL +++ b/OMNL @@ -1 +1 @@ -Subproject commit a22689c3753c1cce1f3b03fc3c32a602c4d9952a +Subproject commit e9b665aa10d6b392be950803595c95e63406a003 diff --git a/package.json b/package.json index e42b31f..14d73ce 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "description": "Root for governmental body web portals — shared configs and policies only", "scripts": { - "lint": "eslint . --max-warnings 0", + "lint": "eslint .eslintrc.cjs --max-warnings 0 && pnpm -r run lint", "format": "prettier --write .", "format:check": "prettier --check ." },