Skip to content

Commit

Permalink
Merge pull request #675 from ckeditor/i/8245
Browse files Browse the repository at this point in the history
Other (tests): Improved linter error message for self-imports. Closes ckeditor/ckeditor5#8245.
  • Loading branch information
pomek authored Oct 21, 2020
2 parents 9c25333 + 1a994fc commit bbb5495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ckeditor5-dev-tests/bin/check-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ depCheck( packageDirectory, depCheckOptions )
console.log( chalk.red( 'Found some issue with dependencies.\n' ) );

if ( data[ 0 ] ) {
console.log( chalk.yellow( 'Invalid itself imports:' ) );
console.log( chalk.yellow( 'Invalid itself imports found in:' ) );
console.log( data[ 0 ] + '\n' );
console.log( '🧾 Imports from local package must always use relative path.\n' );
}

if ( data[ 1 ] ) {
Expand Down

0 comments on commit bbb5495

Please sign in to comment.