Skip to content

Commit fb111ef

Browse files
Configure ESLint to allow regex unicode property escape sequences
1 parent abbfa4e commit fb111ef

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
@@ -240,6 +240,9 @@ export default defineConfig([
240240
// Babel transpiles ES2020 optional chaining
241241
'es-x/no-optional-chaining': 'off',
242242

243+
// Babel transpiles ES2018 RegExp Unicode property escape sequences
244+
'es-x/no-regexp-unicode-property-escapes': 'off',
245+
243246
// JSDoc blocks are optional but must be valid
244247
'jsdoc/require-jsdoc': [
245248
'error',

0 commit comments

Comments
 (0)