Skip to content

Commit

Permalink
disable eslint for a few files (#11378)
Browse files Browse the repository at this point in the history
  • Loading branch information
EndangeredMassa committed Apr 4, 2024
1 parent 3c42649 commit c24d85f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .changeset/chatty-pets-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

disable eslint for a few files
2 changes: 1 addition & 1 deletion packages/node/test/dev-fixtures/edge-buffer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global Response */
/* eslint-disable */

import B from 'node:buffer';
import { Buffer } from 'buffer';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/test/dev-fixtures/edge-waituntil.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global Response */
/* eslint-disable -- flakey application of `global Response` eslint directive */

export const config = { runtime: 'edge' };

Expand Down
2 changes: 1 addition & 1 deletion packages/node/test/dev-fixtures/edge-websocket.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global TextEncoderStream, ReadableStream, Response, WebSocket */
/* eslint-disable -- flakey application of `global TextEncoderStream, ReadableStream, Response, WebSocket` eslint directive */

export const config = { runtime: 'edge' };

Expand Down
2 changes: 1 addition & 1 deletion packages/node/test/dev-fixtures/web-handlers-edge.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global ReadableStream, TextEncoderStream, Response */
/* eslint-disable -- flakey application of `global ReadableStream, TextEncoderStream, Response` eslint directive */

export const config = { runtime: 'edge' };

Expand Down
2 changes: 1 addition & 1 deletion packages/node/test/dev-fixtures/web-handlers-node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global ReadableStream, TextEncoderStream, Response */
/* eslint-disable -- flakey application of `global ReadableStream, TextEncoderStream, Response` eslint directive */

const DEFER_MS = 10;

Expand Down

0 comments on commit c24d85f

Please sign in to comment.