Skip to content

Commit

Permalink
build(eslint): forbid using eval
Browse files Browse the repository at this point in the history
We weren't currently using it in any code, but we were using it in the
tests.
  • Loading branch information
aloisklink committed Sep 17, 2024
1 parent 8253374 commit cc138cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export default tseslint.config(
rules: {
curly: 'error',
'no-console': 'error',
'no-eval': 'error',
'no-implied-eval': 'error',
'no-prototype-builtins': 'off',
'no-unused-vars': 'off',
'cypress/no-async-tests': 'off',
Expand Down

0 comments on commit cc138cb

Please sign in to comment.