Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

432
Vistas
ESLint: how to sort import members with eslint-plugin-import?

I'm trying to add the sorting of import members such as this rule in sort-member.

However, since I'm already using eslint-plugin-import, there is a conflict because each of these rules is trying to sort imports based on different parameters:

  • sort-member sorts following the order ["none", "all", "multiple", "single"], depending on how many imports there is from one module
  • eslint-plugin-import sorts following the order ["builtin", "external", "parent", "sibling", "index"], depending on the type of import

Is there a way to only use the member sort of sort-member (== ignore the memberSyntaxSortOrder rule), or is there a feature similar to memberSort built in eslint-plugin-import?

All I'm trying to do is to have an error for:

import { b, a, c } from 'foo.js'

And have it automatically fixed to:

import { a, b, c } from 'foo.js'
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda