Skip to content

Commit 64304ce

Browse files
amir-rahmaniiASafaeirad
authored andcommitted
feat(node): add prefer-global rules
1 parent e2d196d commit 64304ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/modules/node.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ function node(options = {}) {
3535
'n/no-unsupported-features/node-builtins': 'off', // Nice but not a general rule
3636
'n/prefer-global/buffer': 'warn',
3737
'n/prefer-global/console': 'warn',
38+
'n/prefer-global/crypto': 'warn',
3839
'n/prefer-global/text-decoder': 'warn',
3940
'n/prefer-global/text-encoder': 'warn',
41+
'n/prefer-global/timers': 'warn',
4042
'n/prefer-global/url-search-params': 'warn',
4143
'n/prefer-global/url': 'warn',
4244
'n/prefer-node-protocol': 'warn',

0 commit comments

Comments
 (0)