Revela/.eslintrc
David Reed 561a1ee190
run ESLint
Several bugs were found (and fixed):
src/client/index.js:71
the following if() was equivalent to if (false in obj)

src/client/dom/element.js:207
the following if() was equivalent to if (!element || false in element)

src/client/rewrite/html.js:179
an undefined iterate() was referenced
2022-11-23 12:37:00 -05:00

12 lines
320 B
Text

{
"env": {
"browser": true,
"worker": true,
"serviceworker": true,
"es6": true,
"node": true
},
"globals": { "globalThis": true, "importScripts": true },
"parserOptions": { "sourceType": "module", "ecmaVersion": "latest" },
"extends": ["eslint:recommended"]
}