Skip to content

Files

Latest commit

 

History

History
18 lines (11 loc) · 669 Bytes

BlockImport.md

File metadata and controls

18 lines (11 loc) · 669 Bytes

Pattern: Use of block import

Issue: -

Description

Block imports (e.g. import a.{b, c}) can lead to annoying merge errors in large code bases that are maintained by lot of developers. This rule allows to ensure that only single imports are used in order to minimize merge errors in import declarations.

Example configuration

<check enabled="true" class="org.scalastyle.scalariform.BlockImportChecker" level="warning"/>