eslint.config.js 400 B

1234567891011121314151617
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. const { defineFlatConfig } = require('@flowgram.ai/eslint-config');
  6. module.exports = defineFlatConfig({
  7. preset: 'web',
  8. packageRoot: __dirname,
  9. rules: {
  10. 'no-console': 'off',
  11. 'react/no-deprecated': 'off',
  12. '@flowgram.ai/e2e-data-testid': 'off',
  13. 'react/prop-types': 'off'
  14. },
  15. });