Skip to content

Commit

Permalink
ignore lockdown in lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EtDu committed Mar 23, 2021
1 parent b96bf88 commit 8cefdc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/**
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/runLockdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cefdc9

Please sign in to comment.