Skip to content

Commit a34f0f9

Browse files
committed
Disallow assignment to native objects or read-only global variables (no-global-assign)
Fixes: standard/standard#596
1 parent a710453 commit a34f0f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"no-fallthrough": 2,
7171
"no-floating-decimal": 2,
7272
"no-func-assign": 2,
73+
"no-global-assign": 2,
7374
"no-implied-eval": 2,
7475
"no-inner-declarations": [2, "functions"],
7576
"no-invalid-regexp": 2,

0 commit comments

Comments
 (0)