Skip to content

Commit e886036

Browse files
Configure ESLint to allow regex unicode property escape sequences
1 parent 4c852a8 commit e886036

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
@@ -215,6 +215,9 @@ export default defineConfig([
215215
// Babel transpiles ES2020 optional chaining
216216
'es-x/no-optional-chaining': 'off',
217217

218+
// Babel transpiles ES2018 RegExp Unicode property escape sequences
219+
'es-x/no-regexp-unicode-property-escapes': 'off',
220+
218221
// JSDoc blocks are optional but must be valid
219222
'jsdoc/require-jsdoc': [
220223
'error',

0 commit comments

Comments
 (0)