Skip to content

order's newlines-between doesn't work with multiline import statements #313

Closed
@radekbenkel

Description

Settings newlines-between: always

Not working examples:

import FurtherStepsHeadline // invalid error report here: There should be no empty line within import group  import/order
   from '../../../../../../app/components/pages/contentFunnel/donePartials/FurtherStepsHeadline';
import { expect } from 'chai';

import RangeType, { // invalid error report here: There should be no empty line within import group  import/order
    isFullRange,
    isPartialRange,
} from '../../../../app/lib/dateRange';
local: {
    launch_url: 'http://localhost:${APPLICATION_PORT}',
    selenium_host: 'localhost',
    selenium_port: 4444,
    selenium: {
        start_process: true,
        server_path: require('selenium-server-standalone-jar').path, // invalid error report here: There should be no empty line within import group  import/order
        cli_args: {
            'webdriver.chrome.driver': require('chromedriver').path
        }
    },
    desiredCapabilities: {
        browserName: 'chrome'
    }
},

I will fix this ASAP.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions