Skip to content

Commit

Permalink
validator-eslint: support eslint ^7.0.0 in devDeps and peerDeps (#8997)
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 10, 2023
1 parent 7abd24c commit 0b7187b
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 501 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.*/node_modules/@choojs/**/.*
.*/node_modules/config-chain/.*
.*/node_modules/graphviz/documentation.json
.*/node_modules/resolve/test/**/.*
<PROJECT_ROOT>/.nyc_output/.*
.*/tmp/**/.*
.*/.parcel-cache/.*
Expand Down
1 change: 0 additions & 1 deletion packages/core/graph/src/shared-buffer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @flow
/* global MessageChannel:readonly */
// Copy from @parcel/utils to fix: https://github.com/stackblitz/core/issues/1855
export let SharedBuffer: Class<ArrayBuffer> | Class<SharedArrayBuffer>;

Expand Down
1 change: 0 additions & 1 deletion packages/core/utils/src/shared-buffer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @flow
/* global MessageChannel:readonly */

export let SharedBuffer: Class<ArrayBuffer> | Class<SharedArrayBuffer>;

Expand Down
2 changes: 1 addition & 1 deletion packages/runtimes/webextension/src/autoreload-bg.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global chrome, browser, addEventListener, fetch, Response, HMR_HOST, HMR_PORT */
/* global chrome, browser, addEventListener, HMR_HOST, HMR_PORT */
var env = typeof chrome == 'undefined' ? browser : chrome;
env.runtime.onMessage.addListener(function (msg) {
if (msg.__parcel_hmr_reload__) {
Expand Down
4 changes: 2 additions & 2 deletions packages/validators/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"chalk": "^4.1.0"
},
"devDependencies": {
"eslint": "^6.0.0"
"eslint": "^6.0.0 || ^7.0.0"
},
"peerDependencies": {
"eslint": "^6.0.0"
"eslint": "^6.0.0 || ^7.0.0"
}
}
Loading

0 comments on commit 0b7187b

Please sign in to comment.