File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22import type { CLIOptions } from '../types.js' ;
3+ import type { LintDomainDecision } from '../domains.js' ;
34import path from 'node:path' ;
45import process from 'node:process' ;
56import fs from 'node:fs' ;
@@ -13,7 +14,6 @@ import {
1314 listLintDomains ,
1415 evaluateLintDomains ,
1516 runLintDomainDecisions ,
16- type LintDomainDecision ,
1717} from '../domains.js' ;
1818import * as eslintUtils from '../eslint/utils.js' ;
1919import * as utils from '../utils.js' ;
Original file line number Diff line number Diff line change @@ -202,6 +202,9 @@ const config = [
202202 } ,
203203 ] ,
204204 'import/enforce-node-protocol-usage' : [ 'error' , 'always' ] ,
205+ 'import/group-exports' : [ 'error' ] ,
206+ 'import/exports-last' : [ 'error' ] ,
207+ 'import/consistent-type-specifier-style' : [ 'error' , 'prefer-top-level' ] ,
205208 '@typescript-eslint/no-require-imports' : 0 ,
206209 '@typescript-eslint/no-namespace' : 0 ,
207210 '@typescript-eslint/no-explicit-any' : 0 ,
Original file line number Diff line number Diff line change 11import type { LintDomain , CLIOptions } from './types.js' ;
2+ import type {
3+ LintDomainPlugin ,
4+ LintDomainPluginResult ,
5+ LintDomainDecision ,
6+ LintDomainEngineContext ,
7+ LintDomainSelectionSource ,
8+ } from './domainEngine.js' ;
29import {
310 createLintDomainRegistry ,
411 listLintDomains ,
512 evaluateLintDomains ,
613 runLintDomainDecisions ,
714 runLintDomains ,
8- type LintDomainPlugin ,
9- type LintDomainPluginResult ,
10- type LintDomainDecision ,
11- type LintDomainEngineContext ,
12- type LintDomainSelectionSource ,
1315} from './domainEngine.js' ;
1416import ESLintDomainPlugin from './eslint/ESLintDomainPlugin.js' ;
1517import ShellDomainPlugin from './shell/ShellDomainPlugin.js' ;
Original file line number Diff line number Diff line change 1+ import type { LintDomainPlugin } from '#domains.js' ;
12import path from 'node:path' ;
23import fs from 'node:fs' ;
34import childProcess from 'node:child_process' ;
@@ -11,7 +12,6 @@ import {
1112 resolveDomainSelection ,
1213 createBuiltInDomainRegistry ,
1314 DEFAULT_NIXFMT_SEARCH_PATTERNS ,
14- type LintDomainPlugin ,
1515} from '#domains.js' ;
1616import ESLintDomainPlugin from '#eslint/ESLintDomainPlugin.js' ;
1717import ShellDomainPlugin from '#shell/ShellDomainPlugin.js' ;
You can’t perform that action at this time.
0 commit comments