Skip to content

Commit 5380e8c

Browse files
committed
Fix: CommonJS global variables and CommonJS scoping (use this for browser-only code that uses Browserify/WebPack).
1 parent 899ad69 commit 5380e8c

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
@@ -9,6 +9,7 @@
99
},
1010
"env": {
1111
"browser": true,
12+
"commonjs": true,
1213
"es6": true
1314
},
1415
"extends": "eslint:recommended",

0 commit comments

Comments
 (0)