diff --git a/.eslintrc.js b/.eslintrc.js index 68d30dcb3491..13cefc0aa419 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,11 +27,12 @@ module.exports = { 'docs/**', 'coverage/', 'app/scripts/chromereload.js', + 'app/scripts/lockdown.umd.js', 'app/vendor/**', 'test/e2e/send-eth-with-private-key-test/**', 'nyc_output/**', '.vscode/**', - 'lavamoat/*/policy.json', + 'lavamoat/*/policy.json' ], extends: [ diff --git a/.prettierignore b/.prettierignore index 3059730e1299..deb0fe10cc43 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,6 +5,7 @@ builds/** test-*/** coverage/ app/vendor/** +app/scripts/lockdown.umd.js .nyc_output/** .vscode/** test/e2e/send-eth-with-private-key-test/** diff --git a/app/scripts/runLockdown.js b/app/scripts/runLockdown.js index a034a5e08267..2918368e7e07 100644 --- a/app/scripts/runLockdown.js +++ b/app/scripts/runLockdown.js @@ -6,7 +6,7 @@ try { errorTaming: 'unsafe', mathTaming: 'unsafe', dateTaming: 'unsafe', - overrideTaming: 'severe' + overrideTaming: 'severe', }); } catch (error) { // If the `lockdown` call throws an exception, it interferes with the