From 4e634ee60646edc5e192feec0ae85a1845ce5a51 Mon Sep 17 00:00:00 2001 From: defiQUG Date: Mon, 30 Mar 2026 11:19:18 -0700 Subject: [PATCH] chore: root lint runs portal workspaces; ignore portal paths in ESLint - lint: eslint .eslintrc.cjs && pnpm -r run lint (fixes Next pages-dir warning) - ignorePatterns: **/OMNL|DBIS|ICCC|XOM/** for stray eslint . - chore(OMNL): bump submodule to e9b665a Made-with: Cursor --- .eslintrc.cjs | 6 +++++- OMNL | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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 ." },