eslint-plugin-import-order-alphabetical
eslint-plugin-import-order-alphabetical copied to clipboard
Ignore sorting within one group
Is there a way to ignore sorting for the grouping? I would like to ignore sorting in the first grouping
import React, { useContext, useState } from 'react';
import PropTypes from 'prop-types';
import { useParams } from 'react-router-dom';
maybe add something like that
'eslint-plugin-import-order-alphabetical': [
'error',
{
groups: [
['builtin', {ignoreOrder: true}],
'external', 'internal', 'index', ['sibling', 'parent']],
'newlines-between': 'always',
},
]
Nope but feel free to make a PR!