Skip to content

Commit

Permalink
fix(eslint-plugin): Relax null coalescing and optional chaining (merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal authored Dec 20, 2023
2 parents 71a2383 + 3ffb01e commit c7a20d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/lib/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
// Agoric still uses Endo dependencies under an emulation of ESM we call RESM
// because it is invoked with `node -r esm`.
// RESM does not support ?? nor ?. operators, so we must avoid them expressly.
'@endo/no-optional-chaining': 'error',
'@endo/no-nullish-coalescing': 'error',
'@endo/no-optional-chaining': 'warn',
'@endo/no-nullish-coalescing': 'warn',
},
};

0 comments on commit c7a20d5

Please sign in to comment.