mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 00:01:10 +02:00
🔧 chore: enforce stricter ESLint rules
- no-explicit-any: warn (was off) - no-unused-vars: error (was warn) - Removed no-require-imports override (use default) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
fd962c30b2
commit
f720a25c20
1 changed files with 4 additions and 5 deletions
|
|
@ -45,23 +45,22 @@ export default tseslint.config(
|
|||
sourceType: 'module',
|
||||
},
|
||||
},
|
||||
// TypeScript-specific rules (relaxed for monorepo compatibility)
|
||||
// TypeScript-specific rules
|
||||
{
|
||||
files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'warn',
|
||||
'error',
|
||||
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
|
||||
],
|
||||
'@typescript-eslint/no-require-imports': 'off',
|
||||
},
|
||||
},
|
||||
// JavaScript-specific rules
|
||||
{
|
||||
files: ['**/*.js', '**/*.jsx', '**/*.mjs', '**/*.cjs'],
|
||||
rules: {
|
||||
'no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
||||
'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
||||
},
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue