diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 2a45476fbf7..1e611f4563d 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -121,6 +121,17 @@ module.exports = { '@jessie.js/safe-await-separator': 'off', }, }, + { + // These tests use EV() instead of E(), which are easy to confuse. + // Help by erroring when E() packages are imported. + files: ['packages/boot/test/**/test-*'], + rules: { + 'no-restricted-imports': [ + 'error', + { paths: ['@endo/eventual-send', '@endo/far'] }, + ], + }, + }, { // Allow "loan" contracts to mention the word "loan". files: ['packages/zoe/src/contracts/loan/*.js'],