Skip to content

Commit

Permalink
update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-siek committed May 17, 2024
1 parent af2b0b5 commit 32461a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ module.exports = [
},
{
files: ['lib/**/*.js'],
// reporters and check after methods should not have access to window or document
ignores: ['lib/core/reporters/**/*.js', 'lib/**/*-after.js'],
languageOptions: {
sourceType: 'module',
// lib files should not access global window properties without going through window (i.e. do not add globals.browser)
globals: {
window: true,
document: true,
Expand Down

0 comments on commit 32461a8

Please sign in to comment.