style: add eslint-plugin-simple-import-sort (#10947)

Add eslint-plugin-simple-import-sort to enforce consistent import ordering:
- Node.js builtins first
- External packages second
- Relative imports last
- Named imports sorted alphabetically within each statement
This commit is contained in:
Zoltan Kochan
2026-03-13 02:02:38 +01:00
committed by GitHub
parent 61cad0cdbc
commit 1c8c4e49f5
807 changed files with 2572 additions and 1640 deletions

View File

@@ -1,12 +1,14 @@
import path from 'path'
import fs from 'fs/promises'
import path from 'path'
import { docsUrl } from '@pnpm/cli-utils'
import { install } from '@pnpm/plugin-commands-installation'
import { type Config, types as allTypes } from '@pnpm/config'
import { PnpmError } from '@pnpm/error'
import { renderHelp } from 'render-help'
import { install } from '@pnpm/plugin-commands-installation'
import enquirer from 'enquirer'
import { pick } from 'ramda'
import { renderHelp } from 'render-help'
import { updatePatchedDependencies } from './updatePatchedDependencies.js'
export function rcOptionsTypes (): Record<string, unknown> {