import-js / eslint-plugin-import

ESLint plugin with rules that help validate proper imports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sort custom Path to add newlines-between

MariuzM opened this issue · comments

In tsconfig i have

"baseUrl": "./",
"paths": {
	"src/*": ["src/*"]
}

And i want src imports to have

from

import React from 'react'
import { Component1 } from 'src/component'

to

import React from 'react'

import { Component1 } from 'src/component'

Is this possible?

Yes, you can use custom groups, as described in the documentation.