eslint.config.js 462 B

1234567891011121314151617
  1. /**
  2. * Minimal ESLint flat config for monorepo
  3. */
  4. const js = require('@eslint/js');
  5. const tseslint = require('typescript-eslint');
  6. module.exports = tseslint.config(
  7. { ignores: ['**/dist/**', '**/.next/**', '**/node_modules/**'] },
  8. js.configs.recommended,
  9. ...tseslint.configs.recommended,
  10. {
  11. rules: {
  12. '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
  13. '@typescript-eslint/no-explicit-any': 'warn',
  14. },
  15. },
  16. );