azat-io / eslint-plugin-perfectionist

🦄 ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
https://eslint-plugin-perfectionist.azat.io
MIT License
1.62k stars 28 forks source link

Feature: Ignore Bun modules #109

Open vpzomtrrfrt opened 2 months ago

vpzomtrrfrt commented 2 months ago

What rule do you want to change?

sort-imports

Describe the problem

Since 37bca14, this module considers ws a builtin module, but this is not the case in Node. This should probably be behind a configuration option

Code example

import { IncomingMessage } from "http";

import winston from "winston";
import WebSocket from "ws";

Additional comments

No response

Validations