File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export default [
7474 } ,
7575
7676 rules : {
77+ '@typescript-eslint/consistent-type-imports' : 'error' ,
7778 '@typescript-eslint/explicit-function-return-type' : 'error'
7879 }
7980 } ,
Original file line number Diff line number Diff line change 1- import { TerminalKind , TerminalNode } from '@nomicfoundation/slang/cst' ;
1+ import { TerminalKind } from '@nomicfoundation/slang/cst' ;
22import { doc } from 'prettier' ;
33import { CommentNode } from './CommentNode.js' ;
44import { isIndentableBlockComment } from '../slang-utils/is-indentable-block-comment.js' ;
55import { printIndentableBlockComment } from '../slang-printers/print-indentable-block-comment.js' ;
66
7+ import type { TerminalNode } from '@nomicfoundation/slang/cst' ;
78import type { Doc } from 'prettier' ;
89
910const { join, literalline } = doc . builders ;
Original file line number Diff line number Diff line change 1- import { TerminalKind , TerminalNode } from '@nomicfoundation/slang/cst' ;
1+ import { TerminalKind } from '@nomicfoundation/slang/cst' ;
22import { doc } from 'prettier' ;
33import { CommentNode } from './CommentNode.js' ;
44import { isIndentableBlockComment } from '../slang-utils/is-indentable-block-comment.js' ;
55import { printIndentableBlockComment } from '../slang-printers/print-indentable-block-comment.js' ;
66
7+ import type { TerminalNode } from '@nomicfoundation/slang/cst' ;
78import type { Doc } from 'prettier' ;
89
910const { join, literalline } = doc . builders ;
Original file line number Diff line number Diff line change 1- import { TerminalKind , TerminalNode } from '@nomicfoundation/slang/cst' ;
1+ import { TerminalKind } from '@nomicfoundation/slang/cst' ;
22import { CommentNode } from './CommentNode.js' ;
33
4+ import type { TerminalNode } from '@nomicfoundation/slang/cst' ;
45import type { Doc } from 'prettier' ;
56
67export class SingleLineComment extends CommentNode {
Original file line number Diff line number Diff line change 1- import { TerminalKind , TerminalNode } from '@nomicfoundation/slang/cst' ;
1+ import { TerminalKind } from '@nomicfoundation/slang/cst' ;
22import { CommentNode } from './CommentNode.js' ;
33
4+ import type { TerminalNode } from '@nomicfoundation/slang/cst' ;
45import type { Doc } from 'prettier' ;
56
67export class SingleLineNatSpecComment extends CommentNode {
Original file line number Diff line number Diff line change 1- import {
1+ import { SlangNode } from './SlangNode.js' ;
2+
3+ import type {
24 TerminalKind ,
35 TerminalNode as SlangTerminalNode
46} from '@nomicfoundation/slang/cst' ;
5- import { SlangNode } from './SlangNode.js' ;
6-
77import type { Doc } from 'prettier' ;
88
99export class TerminalNode extends SlangNode {
You can’t perform that action at this time.
0 commit comments