Skip to content

Commit

Permalink
Disable 'unicorn/prefer-global-this'
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Nov 18, 2024
1 parent 2513d68 commit 07db8ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ module.exports = {
'unicorn/no-new-array': 'off', // In contradiction with unicorn/new-for-builtins: Use `new Array()` instead of `Array()`
'unicorn/no-null': 'off', // We don't know the impact on mxGraph code
'unicorn/no-useless-undefined': 'off', // The "undefined" value is useful where we use it and change some mxGraph code
'unicorn/prefer-global-this': 'off', // We only target the browser, so it is valid to use the window object. In addition, using 'globalThis' require changes in the code.
},
overrides: [
// typescript
Expand Down

0 comments on commit 07db8ad

Please sign in to comment.