mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-28 20:11:48 -04:00
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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user