diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 842afd4..3f64401 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ on: branches: - master - develop - pull_request_target: + pull_request: branches: - '*' - '**' diff --git a/eslint.config.js b/eslint.config.js index d23f66e..328041f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -91,6 +91,7 @@ export default [ 'prefer-const': 'error', 'no-var': 'error', 'no-control-regex': 'off', + 'no-undef': 'off', // TypeScript handles this better than ESLint }, settings: { react: { @@ -112,10 +113,6 @@ export default [ test: 'readonly', Event: 'readonly', global: 'readonly', - GlobalEventHandlers: 'readonly', - ErrorEvent: 'readonly', - CanvasRenderingContext2D: 'readonly', - BlobCallback: 'readonly', }, }, rules: {