File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 6868 "@typescript-eslint/no-unnecessary-condition" : 2 ,
6969 "@typescript-eslint/switch-exhaustiveness-check" : 2 ,
7070 "@typescript-eslint/prefer-nullish-coalescing" : 2 ,
71+ "@typescript-eslint/consistent-type-imports" : [
72+ 2 ,
73+ { "fixStyle" : " inline-type-imports" }
74+ ],
75+ "@typescript-eslint/consistent-type-exports" : 2 ,
7176
7277 "n/no-unsupported-features/es-syntax" : 0
7378 }
Original file line number Diff line number Diff line change 1- import Tokenizer , { Callbacks , QuoteType } from "./Tokenizer.js" ;
1+ import Tokenizer , { type Callbacks , QuoteType } from "./Tokenizer.js" ;
22import { fromCodePoint } from "entities/lib/decode.js" ;
33
44const formTags = new Set ( [
Original file line number Diff line number Diff line change 1- import { Parser , Handler , ParserOptions } from "./Parser.js" ;
1+ import { Parser , type Handler , type ParserOptions } from "./Parser.js" ;
22/*
33 * NOTE: If either of these two imports produces a type error,
44 * please update your @types/node dependency!
Original file line number Diff line number Diff line change 1- import { Parser , ParserOptions } from "./Parser.js" ;
2- export { Parser , type ParserOptions } from "./Parser.js" ;
1+ import { Parser , type ParserOptions } from "./Parser.js" ;
2+ export type { Handler , ParserOptions } from "./Parser.js" ;
3+ export { Parser } from "./Parser.js" ;
34
45import {
56 DomHandler ,
6- DomHandlerOptions ,
7- ChildNode ,
8- Element ,
9- Document ,
7+ type DomHandlerOptions ,
8+ type ChildNode ,
9+ type Element ,
10+ type Document ,
1011} from "domhandler" ;
1112
1213export {
You can’t perform that action at this time.
0 commit comments