File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 2626 },
2727 "dependencies" : {
2828 "structured-source" : " ^3.0.2" ,
29- "unist-util-visit" : " ^2.0.3"
29+ "unist-util-visit" : " ^2.0.3" ,
30+ "@textlint/ast-node-types" : " ^12.1.0"
3031 },
3132 "devDependencies" : {
3233 "@textlint/types" : " ^12.1.0" ,
4344 "typescript" : " ^4.5.4"
4445 },
4546 "peerDependencies" : {
46- "@textlint/types" : " ^12.1.0" ,
47- "@textlint/ast-node-types" : " ^12.1.0"
47+ "@textlint/types" : " ^12.1.0"
4848 },
4949 "peerDependenciesMeta" : {
5050 "@textlint/types" : {
5151 "optional" : true
52- },
53- "@textlint/ast-node-types" : {
54- "optional" : true
5552 }
5653 }
5754}
Original file line number Diff line number Diff line change 11// LICENSE : MIT
22"use strict" ;
33import SourceCode from "structured-source" ;
4- import { TextlintRuleErrorPadding } from "@textlint/types" ;
4+ import type { TextlintRuleErrorPadding } from "@textlint/types" ;
55import { AnyTxtNode } from "@textlint/ast-node-types" ;
66
77export class SourceLocation {
Original file line number Diff line number Diff line change 1- import { TextlintRuleContext } from "@textlint/types"
1+ import type { TextlintRuleContext } from "@textlint/types"
22import { ASTNodeTypes , TxtNode } from "@textlint/ast-node-types"
33
44/**
You can’t perform that action at this time.
0 commit comments