.eslintrc.js 409 B

12345678910111213141516
  1. const { defineConfig } = require('@flowgram.ai/eslint-config');
  2. module.exports = defineConfig({
  3. preset: 'web',
  4. packageRoot: __dirname,
  5. rules: {
  6. 'no-restricted-syntax': [
  7. 'error',
  8. {
  9. selector: 'ExportAllDeclaration',
  10. message:
  11. 'Do not re-export everything from another modules, you should explicitly specify the members to be exported.',
  12. },
  13. ],
  14. },
  15. });