mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Have eslint ignore undefined variable "exports"
Modules defined using goog.module declare their exported functions
by assigning them to properties on an object which is the value of
the variable "exports" (e.g., "exports.MyClass = class { ... };").
Normally eslint would complain about this variable being undefined,
but this commit suppresses these errors.
This commit is contained in:
@@ -79,7 +79,8 @@
|
||||
},
|
||||
"globals": {
|
||||
"Blockly": true,
|
||||
"goog": true
|
||||
"goog": true,
|
||||
"exports": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended"
|
||||
|
||||
Reference in New Issue
Block a user