import-js/eslint-plugin-import
Vedi su GitHubimport/newline-after-import: allow disable newline after required in block
Open
#2458 aperta il 19 mag 2022
enhancementhelp wantedtypescript
Metriche repository
- Star
- (4946 star)
- Metriche merge PR
- (Merge medio 138g 22h) (3 PR mergiate in 30 g)
Descrizione
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.