|
10 | 10 | import { default as assert, AssertionError } from "node:assert"; |
11 | 11 | import util from "node:util"; |
12 | 12 | import stringify from "json-stable-stringify-without-jsonify"; |
13 | | -import { registerPlugin, registeredRules } from "../plugins/load.js"; |
14 | | -import { lintFileImpl, resetFile } from "../plugins/lint.js"; |
15 | | -import { getLineColumnFromOffset, getNodeByRangeIndex } from "../plugins/location.js"; |
| 13 | +import { registerPlugin, registeredRules } from "../plugins/load.ts"; |
| 14 | +import { lintFileImpl, resetFile } from "../plugins/lint.ts"; |
| 15 | +import { getLineColumnFromOffset, getNodeByRangeIndex } from "../plugins/location.ts"; |
16 | 16 | import { |
17 | 17 | allOptions, |
18 | 18 | initAllOptions, |
19 | 19 | mergeOptions, |
20 | 20 | DEFAULT_OPTIONS_ID, |
21 | | -} from "../plugins/options.js"; |
22 | | -import { diagnostics, replacePlaceholders, PLACEHOLDER_REGEX } from "../plugins/report.js"; |
23 | | -import { parse } from "./parse.js"; |
24 | | -import { debugAssert, debugAssertIsNonNull } from "../utils/asserts.js"; |
| 21 | +} from "../plugins/options.ts"; |
| 22 | +import { diagnostics, replacePlaceholders, PLACEHOLDER_REGEX } from "../plugins/report.ts"; |
| 23 | +import { parse } from "./parse.ts"; |
| 24 | +import { debugAssert, debugAssertIsNonNull } from "../utils/asserts.ts"; |
25 | 25 |
|
26 | 26 | import type { RequireAtLeastOne } from "type-fest"; |
27 | 27 | import type { Plugin, Rule } from "../plugins/load.ts"; |
|
0 commit comments