import-js/eslint-plugin-import
View on GitHubimport/newline-after-import: allow disable newline after required in block
Open
#2,458 opened on May 19, 2022
enhancementhelp wantedtypescript
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
Expected:
import { foo } from 'bar'
// newline required here
declare module '*.foo' {
import { type Foo } from 'bar'
// no newline required here
const content: Foo<{}>
export default content
}
An option like topLevelOnly or disabledInBlockScope would be nice.