Skip to content

Commit

Permalink
fix: eslint disable
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Jul 16, 2024
1 parent b06f1fe commit 3451dd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ module.exports = {
// and coming up with clever typings may break for consumers.
'@typescript-eslint/no-explicit-any': 'off',
// We use `require` for loading the `package.json` file.
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-var-requires': [
'error',
{ allow: ['/package\\.json$'] },
],
},
},
// Tests
Expand Down

0 comments on commit 3451dd2

Please sign in to comment.