Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

Fix privacy-safe ESLint diagnostic code syntax; report only predefined rule labels

davoodmehraban89 committed Oct 21, 2026 at 09:16 UTC f4e5942743078a364571983c5815794bb6607640
1 file changed +2 -2
.github/workflows/v6-combined-excel-sql-typecheck-linux-once.yml
+2 -2
@@ -56,8 +56,8 @@ jobs:
56 const fs=require('node:fs'),p=process.env.QA_WORK+'/first-lint.log',c=fs.readFileSync(p,'utf8');
57 for(const name of ['readonly-sql-lab','sql-lab/page.tsx','integrations/layout.tsx','excel-preview','v6-readonly-mayan-sql-client'])
58 console.log('QA_LINT_SOURCE_'+name.replace(/[^a-zA-Z]/g,'_').toUpperCase()+'='+c.includes(name));
59 - const rules=[...new Set((c.match(/(?:@typescript-eslint|react-hooks|react|@next\\/next|jsx-a11y)\\/[a-z-]+/g)||[]))].slice(0,10);
60 - console.log('QA_LINT_SAFE_RULES='+rules.join(','));
59 + const known=['@typescript-eslint/no-unused-vars','@typescript-eslint/no-explicit-any','react/no-unescaped-entities','react-hooks/rules-of-hooks','react-hooks/exhaustive-deps','import/no-unresolved','no-unused-vars'];
60 + console.log('QA_LINT_SAFE_RULES='+known.filter(x=>c.includes(x)).join(','));
61 NODE
62 echo 'QA_PRETEST_LINT_FAILED'
63 exit 1