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:
@@ -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
2
OMNL
Submodule OMNL updated: a22689c375...e9b665aa10
@@ -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 ."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user