From 3feba47fc19e986bdaf986eb5defe2bbc940840e Mon Sep 17 00:00:00 2001 From: sberney Date: Wed, 5 Feb 2020 22:50:57 -0800 Subject: [PATCH] Can add globals here, until converted. --- .eslintrc.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b858f4a1a..ba8707bdc 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,13 +1,17 @@ +const libraryGlobals = { + "d3": "readonly" +}; + module.exports = { "env": { "browser": true, "es6": true }, "extends": "eslint-config-i-am-meticulous", - "globals": { + "globals": Object.assign({ "Atomics": "readonly", "SharedArrayBuffer": "readonly" - }, + }, libraryGlobals), "parserOptions": { "ecmaVersion": 2018, "sourceType": "module"