Skip to content

Commit a0f8925

Browse files
Configure ESLint to allow ES2021 ??= logical assignment
1 parent e3c959c commit a0f8925

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ export default defineConfig([
224224
// https://browsersl.ist/#q=supports+es6-module+and+not+supports+array-includes
225225
'es-x/no-array-prototype-includes': 'off',
226226

227+
// Babel transpiles ES2021 `??=` logical assignment
228+
'es-x/no-logical-assignment-operators': 'off',
229+
227230
// Babel transpiles ES2020 `??` nullish coalescing
228231
'es-x/no-nullish-coalescing-operators': 'off',
229232

0 commit comments

Comments
 (0)