Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

819 B
Raw Blame
import js from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  js.configs.recommended,
  ...tseslint.configs.recommended,
  {
    ignores: ['dist/'],
  },
  {
    rules: {
      'no-restricted-imports': [
        'error',
        {
          patterns: [
            {
              group: ['electron', 'electron/*', 'electron-*'],
              message: '@cindy/orca-workflow must not depend on Electron. Host capabilities should be injected by apps/desktop.',
            },
            {
              group: ['apps/*', '../apps/*', '../../apps/*', '../../../apps/*'],
              message: '@cindy/orca-workflow must not import desktop app modules directly. Use dependency injection at registration points.',
            },
          ],
        },
      ],
    },
  },
);