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
This commit is contained in:
defiQUG
2026-03-30 11:19:18 -07:00
parent 72f176b92e
commit 4e634ee606
3 changed files with 7 additions and 3 deletions

View File

@@ -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/**",
],
};

2
OMNL

Submodule OMNL updated: a22689c375...e9b665aa10

View File

@@ -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 ."
},