From d7f6b17308bdbbe2a3f73a874c567a6f3d3a96dc Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Wed, 15 Jul 2026 12:23:53 +0000 Subject: [PATCH] update boundary element linting to be more lenient * allow core-tests from backend * downgrade linting to warn --- eslint.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index d831a43c..082d2619 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -189,7 +189,7 @@ export default defineConfig([ }, rules: { 'boundaries/element-types': [ - 'error', + 'warn', { default: 'disallow', // deny anything not explicitly allowed rules: [ @@ -203,7 +203,7 @@ export default defineConfig([ }, { from: 'backend', - allow: ['backend', 'core', 'config'], // backend can use itself + core + allow: ['backend', 'core', 'config', 'core-tests'], // backend can use itself + core + tests }, { from: 'stories', @@ -218,7 +218,7 @@ export default defineConfig([ ], // Optional: flag any file under src/ that doesn't match one of the // three element patterns above (catches stray/misplaced files) - 'boundaries/no-unknown': 'error' + 'boundaries/no-unknown': 'warn' }, } ]); \ No newline at end of file -- 2.51.2