eslint-plugin-import icon indicating copy to clipboard operation
eslint-plugin-import copied to clipboard

newlines-between: always not working for the group

Open sergeushenecz opened this issue 4 years ago • 2 comments

Hellow everyone i want group how write in the documentation https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md#groups-array

but i have problem newlines-between work between all group

groups: [['external','builtin'], ['internal', 'parent', 'sibling', 'index']],

Example:

import { connect } from 'react-redux';
import { someaction } from 'containers/App/actions';
import reducer from './reducers';

Actual behaviour:

import { connect } from 'react-redux';

import { someaction } from 'containers/App/actions';

import reducer from './reducers';

Excepted behaviour:

import { connect } from 'react-redux';

import { someaction } from 'containers/App/actions';
import reducer from './reducers';

sergeushenecz avatar Sep 08 '21 18:09 sergeushenecz

Is this still an issue with the latest version of eslint and the plugin?

soryy708 avatar Jan 26 '25 19:01 soryy708

Is this still an issue with the latest version of eslint and the plugin?

Yeah, it still does not work with the latest version of eslint and the plugin...

barrymichaeldoyle avatar Mar 30 '25 12:03 barrymichaeldoyle