Skip to content

Commit

Permalink
import/no-duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
abrenneke committed Sep 23, 2023
1 parent b26b803 commit 528046f
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
'no-void': 'off',
'prefer-const': 'error',
'eol-last': 'off',
'import/no-duplicates': 'off',
'import/no-duplicates': 'error',
'import/no-cycle': 'error',
'no-extra-boolean-cast': 'off',
'no-prototype-builtins': 'off',
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/model/nodes/AppendToDatasetNode.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ChartNode, NodeId, PortId } from '../NodeBase.js';
import type { NodeInputDefinition, NodeOutputDefinition } from '../NodeBase.js';
import type { ChartNode, NodeId, PortId, NodeInputDefinition, NodeOutputDefinition } from '../NodeBase.js';
import { NodeImpl, type NodeUIData } from '../NodeImpl.js';
import { nanoid } from 'nanoid/non-secure';

Expand Down
9 changes: 7 additions & 2 deletions packages/core/src/model/nodes/AudioNode.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { type ChartNode, type NodeId, type PortId } from '../NodeBase.js';
import { type NodeInputDefinition, type NodeOutputDefinition } from '../NodeBase.js';
import {
type ChartNode,
type NodeId,
type PortId,
type NodeInputDefinition,
type NodeOutputDefinition,
} from '../NodeBase.js';
import { NodeImpl, type NodeUIData } from '../NodeImpl.js';
import { nanoid } from 'nanoid/non-secure';
import {
Expand Down
9 changes: 7 additions & 2 deletions packages/core/src/model/nodes/ChunkNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { type ChartNode, type NodeId } from '../../model/NodeBase.js';
import {
type ChartNode,
type NodeId,
type NodeInputDefinition,
type NodeOutputDefinition,
type PortId,
} from '../../model/NodeBase.js';
import { NodeImpl, type NodeUIData } from '../../model/NodeImpl.js';
import { type NodeInputDefinition, type NodeOutputDefinition, type PortId } from '../../model/NodeBase.js';
import { type DataValue } from '../../model/DataValue.js';
import { type SupportedModels, chunkStringByTokenCount } from '../../utils/tokenizer.js';
import { nanoid } from 'nanoid/non-secure';
Expand Down
9 changes: 7 additions & 2 deletions packages/core/src/model/nodes/ImageNode.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { type ChartNode, type NodeId, type PortId } from '../NodeBase.js';
import { type NodeInputDefinition, type NodeOutputDefinition } from '../NodeBase.js';
import {
type ChartNode,
type NodeId,
type PortId,
type NodeInputDefinition,
type NodeOutputDefinition,
} from '../NodeBase.js';
import { NodeImpl, type NodeUIData } from '../NodeImpl.js';
import { nodeDefinition } from '../NodeDefinition.js';
import { nanoid } from 'nanoid/non-secure';
Expand Down
9 changes: 7 additions & 2 deletions packages/core/src/model/nodes/ReadDirectoryNode.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { type ChartNode, type NodeId, type PortId } from '../NodeBase.js';
import { type NodeInputDefinition, type NodeOutputDefinition } from '../NodeBase.js';
import {
type ChartNode,
type NodeId,
type PortId,
type NodeInputDefinition,
type NodeOutputDefinition,
} from '../NodeBase.js';
import { NodeImpl, type NodeUIData } from '../NodeImpl.js';
import { nodeDefinition } from '../NodeDefinition.js';
import { nanoid } from 'nanoid/non-secure';
Expand Down
9 changes: 7 additions & 2 deletions packages/core/src/model/nodes/ReadFileNode.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { type ChartNode, type NodeId, type PortId } from '../NodeBase.js';
import { type NodeInputDefinition, type NodeOutputDefinition } from '../NodeBase.js';
import {
type ChartNode,
type NodeId,
type PortId,
type NodeInputDefinition,
type NodeOutputDefinition,
} from '../NodeBase.js';
import { type DataValue } from '../DataValue.js';
import { NodeImpl, type NodeUIData } from '../NodeImpl.js';
import { nodeDefinition } from '../NodeDefinition.js';
Expand Down

0 comments on commit 528046f

Please sign in to comment.