import-js/eslint-plugin-import
GitHub で見るimport/newline-after-import: allow disable newline after required in block
Open
#2,458 opened on 2022年5月19日
enhancementhelp wantedtypescript
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (平均マージ 138d 22h) (30d で 3 merged PRs)
説明
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.