Skip to content

Commit 3346611

Browse files
committed
chore: allow name _internalState for eslint
1 parent eb38a26 commit 3346611

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eslint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ export default tseslint.config(
4848
'no-console': 'off',
4949
'no-mixed-spaces-and-tabs': 'warn',
5050
'no-self-compare': 'error',
51-
'no-underscore-dangle': ['error', { allowAfterThis: true }],
51+
'no-underscore-dangle': [
52+
'error',
53+
{ allow: ['_internalState'], allowAfterThis: true },
54+
],
5255
'no-use-before-define': 'off',
5356
'no-useless-concat': 'error',
5457
'no-var': 'error',

0 commit comments

Comments
 (0)